diff --git a/pkg/metrics/instance/instance.go b/pkg/metrics/instance/instance.go index 87818bb1f65e..86d9a713924e 100644 --- a/pkg/metrics/instance/instance.go +++ b/pkg/metrics/instance/instance.go @@ -35,6 +35,7 @@ import ( func init() { remote.UserAgent = fmt.Sprintf("GrafanaAgent/%s", build.Version) + scrape.UserAgent = fmt.Sprintf("GrafanaAgent/%s", build.Version) } var (