open-telemetry / opentelemetry-dotnet-contrib

This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
https://opentelemetry.io
Apache License 2.0
421 stars 251 forks source link

ResourceDetector.Process - implement other resources #1515

Open Kielek opened 6 months ago

Kielek commented 6 months ago

Issue with OpenTelemetry.ResourceDetectors.Process

List of all OpenTelemetry NuGet packages and version that you are using (e.g. OpenTelemetry 1.3.2):

Runtime version (e.g. net462, net48, net6.0, net7.0 etc. You can find this information from the *.csproj file):

Is this a feature request or a bug?

What is the expected behavior?

Implement all possible resources from https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/process.md#process

What is the actual behavior?

v0.1.0-alpha.1 implements only process.pid.

thompson-tomo commented 1 month ago

As a starting point we should implement the recommended attributes:

With the correct rules being implemented