Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
dfeb3648
Commit
dfeb3648
authored
Apr 20, 2021
by
Annie Ke
Committed by
Liam Horne
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename dtl services to be metrics name compliant
parent
3c00d004
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
base-service.ts
packages/core-utils/src/base-service.ts
+1
-1
service.ts
...data-transport-layer/src/services/l1-ingestion/service.ts
+1
-1
service.ts
...data-transport-layer/src/services/l2-ingestion/service.ts
+1
-1
service.ts
packages/data-transport-layer/src/services/main/service.ts
+1
-1
service.ts
packages/data-transport-layer/src/services/server/service.ts
+1
-1
No files found.
packages/core-utils/src/base-service.ts
View file @
dfeb3648
...
@@ -26,7 +26,7 @@ export class BaseService<T> {
...
@@ -26,7 +26,7 @@ export class BaseService<T> {
this
.
name
=
name
this
.
name
=
name
this
.
options
=
mergeDefaultOptions
(
options
,
optionSettings
)
this
.
options
=
mergeDefaultOptions
(
options
,
optionSettings
)
this
.
logger
=
new
Logger
({
name
})
this
.
logger
=
new
Logger
({
name
})
this
.
metrics
=
new
Metrics
({
prefix
:
name
.
split
(
'
'
).
join
(
'
_
'
)
})
this
.
metrics
=
new
Metrics
({
prefix
:
name
})
}
}
/**
/**
...
...
packages/data-transport-layer/src/services/l1-ingestion/service.ts
View file @
dfeb3648
...
@@ -59,7 +59,7 @@ const optionSettings = {
...
@@ -59,7 +59,7 @@ const optionSettings = {
export
class
L1IngestionService
extends
BaseService
<
L1IngestionServiceOptions
>
{
export
class
L1IngestionService
extends
BaseService
<
L1IngestionServiceOptions
>
{
constructor
(
options
:
L1IngestionServiceOptions
)
{
constructor
(
options
:
L1IngestionServiceOptions
)
{
super
(
'
L1
Ingestion
Service
'
,
options
,
optionSettings
)
super
(
'
L1
_Ingestion_
Service
'
,
options
,
optionSettings
)
}
}
private
state
:
{
private
state
:
{
...
...
packages/data-transport-layer/src/services/l2-ingestion/service.ts
View file @
dfeb3648
...
@@ -51,7 +51,7 @@ const optionSettings = {
...
@@ -51,7 +51,7 @@ const optionSettings = {
export
class
L2IngestionService
extends
BaseService
<
L2IngestionServiceOptions
>
{
export
class
L2IngestionService
extends
BaseService
<
L2IngestionServiceOptions
>
{
constructor
(
options
:
L2IngestionServiceOptions
)
{
constructor
(
options
:
L2IngestionServiceOptions
)
{
super
(
'
L2
Ingestion
Service
'
,
options
,
optionSettings
)
super
(
'
L2
_Ingestion_
Service
'
,
options
,
optionSettings
)
}
}
private
state
:
{
private
state
:
{
...
...
packages/data-transport-layer/src/services/main/service.ts
View file @
dfeb3648
...
@@ -44,7 +44,7 @@ const optionSettings = {
...
@@ -44,7 +44,7 @@ const optionSettings = {
// prettier-ignore
// prettier-ignore
export
class
L1DataTransportService
extends
BaseService
<
L1DataTransportServiceOptions
>
{
export
class
L1DataTransportService
extends
BaseService
<
L1DataTransportServiceOptions
>
{
constructor
(
options
:
L1DataTransportServiceOptions
)
{
constructor
(
options
:
L1DataTransportServiceOptions
)
{
super
(
'
L1
Data Transport
Service
'
,
options
,
optionSettings
)
super
(
'
L1
_Data_Transport_
Service
'
,
options
,
optionSettings
)
}
}
private
state
:
{
private
state
:
{
...
...
packages/data-transport-layer/src/services/server/service.ts
View file @
dfeb3648
...
@@ -55,7 +55,7 @@ const optionSettings = {
...
@@ -55,7 +55,7 @@ const optionSettings = {
export
class
L1TransportServer
extends
BaseService
<
L1TransportServerOptions
>
{
export
class
L1TransportServer
extends
BaseService
<
L1TransportServerOptions
>
{
constructor
(
options
:
L1TransportServerOptions
)
{
constructor
(
options
:
L1TransportServerOptions
)
{
super
(
'
L1
Transport
Server
'
,
options
,
optionSettings
)
super
(
'
L1
_Transport_
Server
'
,
options
,
optionSettings
)
}
}
private
state
:
{
private
state
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment