Skip to content

Tweak Metrics collection traces #931

@luqmana

Description

@luqmana

The nexus log can get a bit noisy with all the successful requests to the metric collection endpoints every 10s:

Apr 15 17:27:58.715 INFO request completed, response_code: 200, uri: /metrics/collect/e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c, method: GET, req_id: 4134bd35-62ea-490f-a28f-67bb6413c3ee, remote_addr: [fd00:1de::6]:47965, local_addr: [fd00:1de::7]:12221, component: dropshot_internal, name: e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c
Apr 15 17:28:08.713 INFO request completed, response_code: 200, uri: /metrics/collect/e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c, method: GET, req_id: 9f5530f3-81e7-489c-bb62-c2ae8afa2a8d, remote_addr: [fd00:1de::6]:47965, local_addr: [fd00:1de::7]:12221, component: dropshot_internal, name: e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c
Apr 15 17:28:18.710 INFO request completed, response_code: 200, uri: /metrics/collect/e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c, method: GET, req_id: 1273060b-7ca2-4d6a-bce1-c52c2062f066, remote_addr: [fd00:1de::6]:47965, local_addr: [fd00:1de::7]:12221, component: dropshot_internal, name: e6bff1ff-24fb-49dc-a54e-c6a350cd4d6c

It'd be nice to just show them on errors or a different log level perhaps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nexusRelated to nexus

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions