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
[exporter/splunkhec] - Add heartbeat check while startup (#24423)
**Description:** Add heartbeat check while startup. This is different
than the `healtcheck_startup`, as the latter doesn't take token or index
into account.
**Link to tracking Issue:**
[<24411>](#24411)
**Testing:** Added relevant test cases
**Documentation:** <Describe the documentation added.>
---------
Co-authored-by: Curtis Robert <[email protected]>
# Use this changelog template to create an entry for release notes.
2
+
# If your change doesn't affect end users, such as a test fix or a tooling change,
3
+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
4
+
5
+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
6
+
change_type: 'enhancement'
7
+
8
+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
9
+
component: splunkhecexporter
10
+
11
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
12
+
note: Add heartbeat check while startup and new config param, heartbeat/startup (defaults to false). This is different than the healtcheck_startup, as the latter doesn't take token or index into account.
13
+
14
+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
15
+
issues: [24411]
16
+
17
+
# (Optional) One or more lines of additional information to render under the primary note.
18
+
# These lines will be padded with 2 spaces and then inserted directly into the document.
Copy file name to clipboardExpand all lines: exporter/splunkhecexporter/README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ The following configuration options can also be configured:
62
62
-`otel_to_hec_fields/severity_number` (default = `otel.log.severity.number`): Specifies the name of the field to map the severity number field of log events.
63
63
-`otel_to_hec_fields/name` (default = `"otel.log.name`): Specifies the name of the field to map the name field of log events.
64
64
-`heartbeat/interval` (no default): Specifies the interval of sending hec heartbeat to the destination. If not specified, heartbeat is not enabled.
65
+
-`heartbeat/startup` (default: false): Check heartbeat at start up time. This action enforces a synchronous heartbeat action during the collector start up sequence. The collector will fail to start if the heartbeat returns an error.
0 commit comments