Skip to content

Regression on data-transport-layer metrics #910

@optimisticben

Description

@optimisticben

Describe the bug
From the current develop branch tip, the dtl service in the docker-compose project build returns a 404 for /metrics.

To Reproduce
Steps to reproduce the behavior:

  1. git checkout develop
  2. git pull
  3. cd ops
  4. docker-compose up --build --detached
  5. curl -v http://127.0.0.1:7878/metrics

That's giving me a 404. If we go back to e6350e2 it seems to work fine.

  1. git checkout e6350e2
  2. cd ops
  3. docker-compose up --build --detached
  4. curl -v http://127.0.0.1:7878/metrics

I'm not sure if I need to add any settings now that we updated the common-ts for metrics in 0c16805

Expected behavior
The curl request should return a list off metrics and values like:

$ curl http://127.0.0.1:7878/metrics
# HELP L1_Data_Transport_Serviceprocess_cpu_user_seconds_total Total user CPU time spent in seconds.
# TYPE L1_Data_Transport_Serviceprocess_cpu_user_seconds_total counter
L1_Data_Transport_Serviceprocess_cpu_user_seconds_total 17.375885

# HELP L1_Data_Transport_Serviceprocess_cpu_system_seconds_total Total system CPU time spent in seconds.
# TYPE L1_Data_Transport_Serviceprocess_cpu_system_seconds_total counter
L1_Data_Transport_Serviceprocess_cpu_system_seconds_total 3.836926

# HELP L1_Data_Transport_Serviceprocess_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE L1_Data_Transport_Serviceprocess_cpu_seconds_total counter
L1_Data_Transport_Serviceprocess_cpu_seconds_total 21.212811000000002
...

]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugsS-confirmedStatus: A confirmed bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions