Skip to content

Commit

Permalink
g3keymess: add missing request tag for gauage metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Aug 23, 2023
1 parent 891fe75 commit 8d67ebd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions g3keymess/src/stat/metric/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ fn emit_server_request_stats(
.gauge_with_tags(METRIC_NAME_SERVER_REQUEST_ALIVE, stats.alive_count as f64)
.add_server_tags(p.server, p.online_value, p.stat_id)
.add_server_extra_tags(p.server_extra_tags)
.with_tag(TAG_KEY_REQUEST, request)
.send();

let new_value = stats.passed;
Expand Down

0 comments on commit 8d67ebd

Please sign in to comment.