We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d9a6e commit fdb0837Copy full SHA for fdb0837
docs/src/main/asciidoc/howto.adoc
@@ -165,8 +165,8 @@ The modification will not be available for timers created by `DefaultMeterObserv
165
----
166
@Bean
167
public ObservationFilter observationFilter() {
168
+ String tagKey = String.format(QueryHighCardinalityKeyNames.QUERY.asString(), 0); // There might be multiple queries, only modify the first
169
return (context) -> {
- String tagKey = QueryHighCardinalityKeyNames.QUERY.name();
170
KeyValue tag = context.getHighCardinalityKeyValue(tagKey);
171
if(tag != null) {
172
String query = tag.getValue();
0 commit comments