-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add service.name resource attribute to the collector's own telemetry #6136
Comments
This is partially correct. Collector does include Collector also allows to specify arbitrary attributes to include in its own telemetry using The only thing I believe is really missing is that |
Some findings for posterity: I have been testing how Collector generates its own metrics using prometheusreceiver to collect them and was surprised to discover that So, we still need to add the |
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also coincides with OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - I made the service.name a setting in BuildInfo which can be overridden when building the Collector. Other distros may choose a different service.name. - The service.name can be also overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - I set the default service.name to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also coincides with OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - I made the service.name a setting in BuildInfo which can be overridden when building the Collector. Other distros may choose a different service.name. - The service.name can be also overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - I made the service.name a setting in BuildInfo which can be overridden when building the Collector. Other distros may choose a different service.name. - The service.name can be also overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - I made the service.name a setting in BuildInfo which can be overridden when building the Collector. Other distros may choose a different service.name. - The service.name can be also overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - I made the service.name a setting in BuildInfo which can be overridden when building the Collector. Other distros may choose a different service.name. - The service.name can be also overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to "io.opentelemetry.collector". I think this is a good choice since it is unambiguous and is still short enough to be readable. This also matches the OpAMP recommendations: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#agentdescriptionidentifying_attributes - The service.name can be overridden by the end user via telemetry config setting.
I don't think it makes sense to use a constant It seems like the desire to use a constant manifests from opamp's usage of |
Yes, that's what the PR does. We define a default is which can be overridden by the end user using the config file. |
Resolves open-telemetry#6136 - The default service.name is set to BuildInfo.Command (equals to "otelcol" for this repo). - The service.name can be overridden by the end user via telemetry config setting.
Resolves open-telemetry#6136 - The default service.name is set to BuildInfo.Command (equals to "otelcol" for this repo). - The service.name can be overridden by the end user via telemetry config setting.
Is your feature request related to a problem? Please describe.
The opam spec states that an agent should have the following identifying attributes:
At the moment, the collector's own telemetry don't include these.
Describe the solution you'd like
The collector should include the above attributes -
service.namespace
andservice.instance.id
should probably be configurable. I'm not sure what the default values should be.Describe alternatives you've considered
I've suggested in slack a specific resource type might be created for agents, but the consensus seems to be that the collector is a service.
The text was updated successfully, but these errors were encountered: