Skip to content
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

Define profiling.instrumentation.source Log Message Attribute #336

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

### Semantic Conventions

#### Enhancements

- Define the `profiling.instrumentation.source` attribute with valid values
of `continuous` and `snapshot`.
[#336](https://github.com/signalfx/gdi-specification/pull/336)

## [1.7.0] - 2025-01-07

### Configuration
Expand Down
3 changes: 3 additions & 0 deletions specification/semantic_conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ instances. For each `LogRecord` instance:
- `pprof-gzip-base64`,
- `text` ([Deprecated](../README.md#versioning-and-status-of-the-specification)
format).
- `profiling.instrumentation.source` MUST be set to either:
- `continuous` for continuous "Always On" profiling
- `snapshot` for trace snapshot profiling
Comment on lines +132 to +134
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that, for backward compatibility, you should mention that it will be treated as continuous.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This, there are too many existing installations, my suggestion is that profiling.instrumentation.source must only be set when anything other than continuous is used (as the backend treats all of the profiles as continuous by default).


#### `LogRecord` Message `text` Data Format Specific Attributes

Expand Down