Skip to content

Commit 6836d09

Browse files
ref(pipeline): Include pipeline type in metrics (#112977)
So we can differentiate between integration pipelines and identity pipelines
1 parent 80cc067 commit 6836d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/web/frontend/pipeline_advancer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ def handle(self, request: HttpRequest, provider_id: str) -> HttpResponseBase:
126126
if pipeline.is_api_mode:
127127
metrics.incr(
128128
"integrations.pipeline_advancer.trampoline",
129-
tags={"provider": provider_id},
129+
tags={"provider": provider_id, "pipeline": pipeline.pipeline_name},
130130
sample_rate=1.0,
131131
)
132132
return _render_trampoline(request, pipeline)
133133

134134
metrics.incr(
135135
"integrations.pipeline_advancer.legacy",
136-
tags={"provider": provider_id},
136+
tags={"provider": provider_id, "pipeline": pipeline.pipeline_name},
137137
sample_rate=1.0,
138138
)
139139

0 commit comments

Comments
 (0)