You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[receiver/splunkenterprise] 36330 add build info as attribute (open-telemetry#37508)
#### Description
Adds a new attribute which optionally includes build and/or version info
for the Splunk host being monitored. Also removed the use of `context`
module in the client calls used by the scrape functions.
#### Link to tracking issue
Fixes
[36330](open-telemetry#36330)
#### Testing
unit tests updated and passing
#### Documentation
README.md was updated to include new configuration field
Copy file name to clipboardExpand all lines: receiver/splunkenterprisereceiver/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ The following settings are optional:
34
34
35
35
*`collection_interval` (default: 10m): The time between scrape attempts.
36
36
*`timeout` (default: 60s): The time the scrape function will wait for a response before returning empty.
37
+
*`build_version_info` (default: false): Elect to run an additional scrape which will retrieve build and version info for the configured endpoints and attach this as attributes to the selected metrics. A value of false will report an empty string as the attribute value but will speed up the receiver slightly.
0 commit comments