[feature request] ElasticSearch - update network semantic convention #2302
Labels
comp:instrumentation.elasticsearchclient
Things related to OpenTelemetry.Instrumentation.ElasticsearchClient
contribfest
These small and isolated issues are suitable for Kubecon Contribfest
enhancement
New feature or request
Component
OpenTelemetry.Instrumentation.ElasticsearchClient
Is your feature request related to a problem?
Network semantic convention uses deprecated attributes.
Its need to be updated to the latest one.
What is the expected behavior?
Instrumentation is using new semantic convention for network attributes. It is related to
net.peer.ip
,net.peer.port
, andnet.peer.name
. All of them should be replaced bynetwork.peer.port
andnetwork.peer.address
.For the reference see https://github.com/open-telemetry/semantic-conventions/blob/v1.28.0/docs/database/database-spans.md
Code:
opentelemetry-dotnet-contrib/src/OpenTelemetry.Instrumentation.ElasticsearchClient/Implementation/ElasticsearchRequestPipelineDiagnosticListener.cs
Lines 193 to 205 in 4301c94
Which alternative solutions or features have you considered?
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: