-
Notifications
You must be signed in to change notification settings - Fork 0
feat(OpAMP): adding new attributes #1811
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
base: main
Are you sure you want to change the base?
Conversation
58b7e46 to
3e2fe63
Compare
e608a0a to
d7395b0
Compare
d7395b0 to
206ec88
Compare
Signed-off-by: Paolo Gallina <[email protected]>
3e2fe63 to
1fcb307
Compare
Signed-off-by: Paolo Gallina <[email protected]>
9ea52e2 to
d24bc30
Compare
Signed-off-by: Paolo Gallina <[email protected]>
Signed-off-by: Paolo Gallina <[email protected]>
| pub const CLUSTER_NAME_ATTRIBUTE_KEY: &str = "cluster.name"; | ||
| pub const HOST_ID_ATTRIBUTE_KEY: &str = opentelemetry_semantic_conventions::attribute::HOST_ID; | ||
| pub const FLEET_ID_ATTRIBUTE_KEY: &str = "fleet.guid"; | ||
| pub const OS_ATTRIBUTE_KEY: &str = "os.type"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would make sense to link to here or specify the variants to avoid miss used in the future ? https://opentelemetry.io/docs/specs/semconv/registry/attributes/os/#os-type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I did not see that, currently I was using os::OS that instead of darwin has "macos"
Then it is better to move back to the custom constant definition I had before, no?
6778f0d to
6e41010
Compare
4b18188 to
5facfd7
Compare
The base branch was changed.
What this PR does / why we need it
This PR is introducing a new attribute for the AC only specifying the environment in which the agent is running.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
docsis aligned with the change.CONTRIBUTING.md.log level guidelines.