-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/splunkhecexporter] Add OtelAttrsToHec
struct and related config fields
#35476
Conversation
exporter/splunkhecexporter/README.md
Outdated
- `hec_metadata_to_otel_attrs/source` (default = 'com.splunk.source'): Specifies the mapping of a specific unified model attribute value to the standard source field of a HEC event. | ||
**Deprecated** (v0.109.0): prefer `otel_attrs_to_hec_metadata/source`. |
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.
**Deprecated** (v0.109.0): prefer `otel_attrs_to_hec_metadata/source`. | |
**Deprecated** (v0.111.0): prefer `otel_attrs_to_hec_metadata/source`. |
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.
Done
@atoulme, any further issues or is this ready to merge? |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
I would still like to see this PR merge. Is there some step that I am overlooking on how to get this to be merged? |
@atoulme, is there some way to revive this PR or do I need to create another one? |
Changes still look good to me. You need to update the README for the deprecation notice. |
This new struct is used when converting an OTel log message into a Splunk message. Any fields that are modified in the HecToOtelAttrs struct will be used in this new struct unless the corresponding field has already been modified there.
…config fields (open-telemetry#35476) **Description:** Adding a new config fields `otel_attrs_to_hec_metadata/*` to replace the `hec_metadata_to_otel_attrs/*` config fields. **Link to tracking Issue:** fixes open-telemetry#35092 **Testing:** No new tests added, modified existing tests. **Documentation:** Adding field-level description to exporter README.md.
Description: Adding a new config fields
otel_attrs_to_hec_metadata/*
to replace thehec_metadata_to_otel_attrs/*
config fields.Link to tracking Issue: fixes #35092
Testing: No new tests added, modified existing tests.
Documentation: Adding field-level description to exporter README.md.