From 2b3d09a31f7b50e377a547ba7467c688bf04affc Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 21 Jun 2024 10:04:27 +0200 Subject: [PATCH] fix metric name --- collector/src/collector/cli/docker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/src/collector/cli/docker/__init__.py b/collector/src/collector/cli/docker/__init__.py index 39b8af0..239df80 100644 --- a/collector/src/collector/cli/docker/__init__.py +++ b/collector/src/collector/cli/docker/__init__.py @@ -32,7 +32,7 @@ def pulls(ctx): if not ctx.obj.get("DRY_RUN"): dd.Metric.send( - metric="haystack.github.stars", points=[(time.time(), int(pulls))], tags=ctx.obj.get("DEFAULT_TAGS") + metric="haystack.docker.pulls", points=[(time.time(), int(pulls))], tags=ctx.obj.get("DEFAULT_TAGS") ) click.echo(pulls)