Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
ab459c08
"readme.md" did not exist on "6fded7dea0d5d17afd45f4d8400ffe5542e0ccd5"
Commit
ab459c08
authored
1 year ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Fix rpc server import
parent
0df0e962
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tangostationcontrol/tangostationcontrol/rpc/server.py
+2
-2
2 additions, 2 deletions
tangostationcontrol/tangostationcontrol/rpc/server.py
with
2 additions
and
2 deletions
tangostationcontrol/tangostationcontrol/rpc/server.py
+
2
−
2
View file @
ab459c08
...
@@ -3,7 +3,7 @@ from typing import Dict
...
@@ -3,7 +3,7 @@ from typing import Dict
import
grpc
import
grpc
import
logging
import
logging
from
prometheus_client
import
Count
,
Metric
from
prometheus_client
import
Count
er
,
Metric
from
._proto
import
observation_pb2
from
._proto
import
observation_pb2
from
._proto
import
observation_pb2_grpc
from
._proto
import
observation_pb2_grpc
...
@@ -40,7 +40,7 @@ class Observation(observation_pb2_grpc.ObservationServicer):
...
@@ -40,7 +40,7 @@ class Observation(observation_pb2_grpc.ObservationServicer):
)
)
def
_add_metric_count
(
self
,
name
:
str
,
desc
:
str
):
def
_add_metric_count
(
self
,
name
:
str
,
desc
:
str
):
self
.
metrics
[
name
]
=
Count
(
self
.
metrics
[
name
]
=
Count
er
(
name
,
name
,
desc
,
desc
,
[
"
service
"
],
[
"
service
"
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment