diff options
author | James E. Blair <jim@acmegating.com> | 2022-10-05 11:01:52 -0700 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-10-05 11:07:16 -0700 |
commit | 6f506fb8d0095475e7aa1e8c348b5a04bf605aef (patch) | |
tree | bac2e62caf4e63b4b29fff8e16f44c4681458203 | |
parent | b7c25e0f518bb26f0d9249146c3bac019448f45f (diff) | |
download | zuul-6f506fb8d0095475e7aa1e8c348b5a04bf605aef.tar.gz |
Include tenant and pipeline in QueueItem span
This (especially the pipeline name) may help us narrow down what
we're looking for when there are multiple queueitems for an event.
Change-Id: I4e5c53d6379f6501730fab6d599a37c0965f2287
-rw-r--r-- | zuul/manager/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/manager/__init__.py b/zuul/manager/__init__.py index d70b12885..a1d906fe9 100644 --- a/zuul/manager/__init__.py +++ b/zuul/manager/__init__.py @@ -757,6 +757,8 @@ class PipelineManager(metaclass=ABCMeta): span_attrs = { 'zuul_event_id': item.event.zuul_event_id, + 'zuul_tenant': self.pipeline.tenant.name, + 'zuul_pipeline': self.pipeline.name, } for k, v in item.change.getSafeAttributes().toDict().items(): span_attrs['ref_' + k] = v |