diff --git a/backend/controller/observability/pubsub.go b/backend/controller/observability/pubsub.go index eaf7f15b44..bb6250f028 100644 --- a/backend/controller/observability/pubsub.go +++ b/backend/controller/observability/pubsub.go @@ -25,7 +25,6 @@ const ( pubsubSinkRefAttr = "ftl.pubsub.sink.ref" pubsubSinkModuleAttr = "ftl.pubsub.sink.module.name" pubsubFailedOperationAttr = "ftl.pubsub.propagation.failed_operation" - pubsubFailedToPublishErrAttr = "ftl.pubsub.publish.error.message" ) type PubSubMetrics struct { @@ -83,10 +82,6 @@ func (m *PubSubMetrics) Published(ctx context.Context, module, topic string, may attribute.Bool(observability.StatusSucceededAttribute, maybeErr == nil), } - if maybeErr != nil { - attrs = append(attrs, attribute.String(pubsubFailedToPublishErrAttr, maybeErr.Error())) - } - m.published.Add(ctx, 1, metric.WithAttributes(attrs...)) }