-
Notifications
You must be signed in to change notification settings - Fork 16
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
Define profiling.instrumentation.source
Log Message Attribute
#336
Conversation
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.
Can you please add a changelog entry?
Done. |
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.
I am not against change for a short term solution, but we need to start thinking how to handle the OTLP profiling protocol. I hope it will go live this year.
In such cases you will be not able to expect such attributes.
For known, libraries, you can probably utilize
- InstrumentationScope
For all generic cases: - SampleType
- PeriodType
- `profiling.instrumentation.source` MUST be set to either: | ||
- `continuous` for continuous "Always On" profiling | ||
- `snapshot` for trace snapshot profiling |
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.
I think that, for backward compatibility, you should mention that it will be treated as continuous
.
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.
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).
I was hoping to use |
…cted a given callstack. Signed-off-by: thomasduncan <tduncan@splunk.com>
…ion. Signed-off-by: thomasduncan <tduncan@splunk.com>
…ribute and its values. Signed-off-by: thomasduncan <tduncan@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com> Signed-off-by: thomasduncan <tduncan@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com> Signed-off-by: thomasduncan <tduncan@splunk.com>
Signed-off-by: thomasduncan <tduncan@splunk.com>
fb509bb
to
facce30
Compare
For our internal internal profiling format, we can put any data we want. The problem will be with the OTLP-profiling of the protocol. From the very beginning we should be ready to understand different sets of data. The most important bringing from OTEL world is ebpf-profiling. What is more, for sure the .NET data will be send in the OTel-compliant way. The data source is working, we need to add only the exporter. Avoiding any Cisco/Splunk specific attributes should be our goal. If needed, we can start working on semantic-convention for profiling, but need to have good proposal for this. |
I've mangled the commit signing and unable to figure out how to fix it. Instead I've opened #337 with correctly signed commits. |
The profiling backend ingestion process needs to be able to distinguish between callstacks collected by the existing continuous "Always On" profiler and those collected by the upcoming trace snapshot profiler. This PR defines an attribute to be included in a log message body that will identify which profiling process was responsible for collecting and reporting the exported callstacks.