Attributes:
- is there a need in generic?
messaging.settlement.settled: boolean
System-specific:
messaging.kafka.committed.offsetmessaging.rabbitmq.ack.type,messaging.rabbitmq.ack.delivery_tag
Based on:
Context: https://gist.github.com/lmolkova/b9004307a09be788af04f05ebe22ad3c
Follows general OTel Metrics conventions and depends on OTel Messaging conventions changes
| Name | Description | Units | Instrument Type (*) | Value Type | Attribute Key(s) | Attribute Values |
|---|
net.peer.name:net.peer.port (actual host contacted)
messaging.destination.name
no url notion
The immediate goal is to report metrics from Azure messaging SDKs (EventHubs and ServiceBus) to help customers detect and investigate configuration issues, performance bottlenecks, application and SDK bugs.
It can be broken down into smaller goals:
Quarkus configuration is very similar to Spring:
application.properties and application.yamlWhat's different:
Note: New APIs are still work in progress and need polishing
Please build azure-core and azure-data-appconfiguration from https://github.com/lmolkova/azure-sdk-for-java/tree/configuration-sdk/ branch
PR: Azure/azure-sdk-for-java#26420
// 1. Implement a ConfigurationSource
// 2. Build client-specific ConfigurationSDKs expose IAzureClientBuilder<EventHubProducerClient, EventHubProducerClientOptions> AddEventHubProducerClient<TBuilder, TConfiguration>(this TBuilder builder, TConfiguration configuration) where TBuilder : IAzureClientFactoryBuilderWithConfiguration<TConfiguration>
Implementation lives in Microsoft.Extensions.Azure
microsoft.extensions.configuration through IConfiguration.Bind() and relies on *Options following microsoft.extensions.configuration conventions (i.e. properties)microsoft.extensions.configuration supports:
Config
appsettings.json or any other MS.Extensions.Configuration-compatible source using additional Microsoft.Extensions.Azure package.