Skip to content

Commit

Permalink
feat(s3stream): change s3stream metrics tags key (#547)
Browse files Browse the repository at this point in the history
Signed-off-by: Shichao Nie <[email protected]>
  • Loading branch information
SCNieh authored Nov 2, 2023
1 parent 7a8f186 commit b3f75ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static class OperationMetrics {
public OperationMetrics(S3Operation s3Operation) {
Map<String, String> tags = Map.of(
"operation", s3Operation.getName(),
"type", s3Operation.getType().getName());
"op_type", s3Operation.getType().getName());
operationCount = S3StreamMetricsRegistry.getMetricsGroup().newCounter("operation_count" + Counter.SUFFIX, tags);
operationTime = S3StreamMetricsRegistry.getMetricsGroup().newHistogram("operation_time", tags);
}
Expand Down

0 comments on commit b3f75ad

Please sign in to comment.