Skip to content

pkg/receive: add requests counter metric#1262

Merged
brancz merged 1 commit intothanos-io:masterfrom
squat:requestscounter
Jun 19, 2019
Merged

pkg/receive: add requests counter metric#1262
brancz merged 1 commit intothanos-io:masterfrom
squat:requestscounter

Conversation

@squat
Copy link
Member

@squat squat commented Jun 19, 2019

As per the discussion in
#1261 (comment),
let's add a metric to track the total number of requests handled by the
receive component.

Changes

Add a thanos_http_requests_total metric to the receive component.

Verification

  • start thanos receive
  • make a request against the receive endpoint; and
  • verify that the counter is increased

cc @brancz @bwplotka

As per the discussion in
thanos-io#1261 (comment),
let's add a metric to track the total number of requests handled by the
receive component.
@brancz brancz merged commit 24dd615 into thanos-io:master Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants