-
Notifications
You must be signed in to change notification settings - Fork 17
Splunk specific file based configuration fields #355
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
Changes from 1 commit
d437cda
1123de3
f80d5aa
1bff279
a6670b0
ea159c0
6bb05d8
69a19c8
fda8404
6a0e2c8
86e1dc9
1251ba2
0b64f05
45a27be
0310b22
5af67f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -239,8 +239,8 @@ | |
| a deprecation warning and suggest an alternate method. For example: | ||
| ```txt | ||
| jaeger-thrift-splunk trace exporter is deprecated and may be removed in a future major release. Use the default | ||
| OTLP exporter instead, or set the SPLUNK_REALM and SPLUNK_ACCESS_TOKEN environment variables to send | ||
| jaeger-thrift-splunk trace exporter is deprecated and may be removed in a future major release. Use the default | ||
| OTLP exporter instead, or set the SPLUNK_REALM and SPLUNK_ACCESS_TOKEN environment variables to send | ||
| telemetry directly to Splunk Observability Cloud. | ||
| ``` | ||
|
|
@@ -250,12 +250,51 @@ | |
| In addition to environment variables, other ways of defining configuration also exist: | ||
| - [Java System | ||
| Properties](https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html): | ||
| These properties MUST match the environment variables converting to lower | ||
| case and replacing underscores with hyphens or periods. For example: | ||
| system property `splunk.trace-response-header.enabled` is equivalent to environment | ||
| variable `SPLUNK_TRACE_RESPONSE_HEADER_ENABLED`. | ||
| #### File based configuration | ||
|
Check failure on line 253 in specification/configuration.md
|
||
| OpenTelemetry's [declarative configuration](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/README.md#declarative-configuration) SHOULD be supported via [`OTEL_EXPERIMENTAL_CONFIG_FILE`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk.md#via-otel_experimental_config_file) environment variable. | ||
|
Check failure on line 255 in specification/configuration.md
|
||
| In addition, Splunk specific configuration MUST have their own root-level configuration block named `splunk`. | ||
|
Check failure on line 257 in specification/configuration.md
|
||
| The following is an example covering the common configuration values: | ||
| ```yaml | ||
| splunk: | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # Common values across language distributions. | ||
| realm: "eu0" | ||
| accessToken: "${SPLUNK_ACCESS_TOKEN}" | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| tracing: | ||
| enabled: true | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| responseHeaderEnabled: true # SPLUNK_TRACE_RESPONSE_HEADER_ENABLED | ||
seemk marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| profiling: | ||
| enabled: true # SPLUNK_PROFILER_ENABLED | ||
| endpoint: "" # SPLUNK_PROFILER_LOGS_ENDPOINT | ||
| memoryProfilingEnabled: true # SPLUNK_PROFILER_MEMORY_ENABLED | ||
| callgraphs: | ||
| enabled: true # SPLUNK_SNAPSHOT_PROFILER_ENABLED | ||
| samplingInterval: 10 # SPLUNK_SNAPSHOT_SAMPLING_INTERVAL | ||
pellared marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| selectionProbability: 0.01 # SPLUNK_SNAPSHOT_SAMPLING_INTERVAL | ||
| # Language specific configurations | ||
| runtime: | ||
| nodejs: | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| metrics: | ||
| instrumentationMetricsEnabled: true # SPLUNK_INSTRUMENTATION_METRICS_ENABLED | ||
|
||
| runtimeMetrics: | ||
| enabled: true # SPLUNK_RUNTIME_METRICS_ENABLED | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| collectionInterval: 30000 # SPLUNK_RUNTIME_METRICS_COLLECTION_INTERVAL | ||
| autoInstrumentPackages: | ||
| - "MyApiService" | ||
| - "MyOtherService" | ||
| java: | ||
| ... | ||
| ``` | ||
|
|
||
| #### [Java SystemProperties](https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html) | ||
|
|
||
| These properties MUST match the environment variables converting to lower | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| case and replacing underscores with hyphens or periods. For example: | ||
| system property `splunk.trace-response-header.enabled` is equivalent to environment | ||
| variable `SPLUNK_TRACE_RESPONSE_HEADER_ENABLED`. | ||
|
|
||
| ### Snapshot Profiler | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.