Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
TFS
controller
Commits
0706f414
Commit
0706f414
authored
7 months ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Added missing metrics server in Telemetry Frontend
parent
d97e685a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!258
Resolve "Re-designing of Telemetry"
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/telemetry/frontend/service/__main__.py
+6
-1
6 additions, 1 deletion
src/telemetry/frontend/service/__main__.py
with
6 additions
and
1 deletion
src/telemetry/frontend/service/__main__.py
+
6
−
1
View file @
0706f414
...
...
@@ -13,7 +13,8 @@
# limitations under the License.
import
logging
,
signal
,
sys
,
threading
from
common.Settings
import
get_log_level
from
prometheus_client
import
start_http_server
from
common.Settings
import
get_log_level
,
get_metrics_port
from
.TelemetryFrontendService
import
TelemetryFrontendService
terminate
=
threading
.
Event
()
...
...
@@ -35,6 +36,10 @@ def main():
LOGGER
.
debug
(
'
Starting...
'
)
# Start metrics server
metrics_port
=
get_metrics_port
()
start_http_server
(
metrics_port
)
grpc_service
=
TelemetryFrontendService
()
grpc_service
.
start
()
...
...
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