We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0135c commit cb760ffCopy full SHA for cb760ff
output.go
@@ -415,6 +415,13 @@ func (ms *metricStore) RemoveLabels() {
415
// High cardinality label. This is already present in logs.
416
ts.tags = ts.tags.Without("error")
417
418
+ // Replace url with __raw_url__ if the latter is present. The agent sets this tag on multihttp checks to be the
419
+ // user-specified URL, before interpolating variables in it.
420
+ if rawURL, found := ts.tags.Get("__raw_url__"); found && rawURL != "" {
421
+ log.Tracef("Overwriting url tag with __raw_url__ on %q", ts.name)
422
+ ts.tags = ts.tags.Without("__raw_url__").With("url", rawURL)
423
+ }
424
+
425
newStore[ts] = v
426
}
427
0 commit comments