Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messaging metric overrides #687

Closed

Conversation

lmolkova
Copy link
Contributor

@lmolkova lmolkova commented Feb 2, 2024

Fixes #553

Changes

Documents individual messaging system metric overrides for Kafka, RabbitMQ and Azure messaging systems

Merge requirement checklist

docs/messaging/kafka.md Outdated Show resolved Hide resolved
docs/messaging/kafka.md Outdated Show resolved Hide resolved
@lmolkova lmolkova changed the title Messaging azure metric overrides Messaging metric overrides Feb 6, 2024
@lmolkova lmolkova force-pushed the messaging-azure-metric-overrides branch from 58cdce8 to 34f2d2e Compare February 7, 2024 00:28
@lmolkova lmolkova force-pushed the messaging-azure-metric-overrides branch from faa5537 to 6b70542 Compare February 7, 2024 00:44
model/trace/messaging.yaml Outdated Show resolved Hide resolved
Comment on lines +104 to +106
- The following attributes (with corresponding [requirement levels](#attributes)) are defined in addition to generic attributes for this metric:
* `messaging.kafka.destination.partition`
* `messaging.kafka.consumer.group`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to clarify with the wider semantic conventions community whether this is the way we want to extend generic metric definitions.

The approach proposed in this PR is endorsed by the messaging workgroup, because it allows telemetry consumers to utilize a single metric (for example messaging.receive.messages) to measure throughput, regardless of the messaging system used. This makes it much easier to build generic APM experiences.

For obtaining system-specific information, it is still possible to utilize the additional system-specific attributes on the metric.

Copy link

github-actions bot commented Mar 8, 2024

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Mar 8, 2024
- [Span attributes](#span-attributes)
- [Attributes](#attributes)
- [Metrics](#metrics)
* [Metric: `messaging.publish.duration`](#metric-messagingpublishduration)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, didn't we had a person working on the Kakfa metrics and decided to not have them in semconv? How these will fit with those? Or are those broker and these are client ones?

@github-actions github-actions bot removed the Stale label Mar 14, 2024
@lmolkova lmolkova marked this pull request as draft March 25, 2024 15:50
@lmolkova
Copy link
Contributor Author

lmolkova commented May 2, 2024

I'm going to close it for now since it might not be needed with #815

@lmolkova lmolkova closed this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messaging metrics: extending general messaging metrics for individual systems
4 participants