Skip to content

access_token_passthrough errors since v0.114 #36796

Closed
@crisand2

Description

Component(s)

exporter/sapm

Details

Hey, I have some issues regarding the sapm exporter.

My config:

sapm:
    endpoint: "${SPLUNK_LISTEN_INTERFACE}:7276"
    access_token_passthrough: true

Error (similarly seen in journalctl, this is from otelbin.io):

The provided configuration is invalid - 2024/12/12 09:31:41 settings.go:478: Set config to [/tmp/config.yaml] 2024/12/12 09:31:41 settings.go:539: Set memory limit to 460 MiB 2024/12/12 09:31:41 settings.go:524: Set soft memory limit set to 460 MiB 2024/12/12 09:31:41 settings.go:373: Set garbage collection target percentage (GOGC) to 400 2024/12/12 09:31:41 settings.go:414: set "SPLUNK_LISTEN_INTERFACE" to "0.0.0.0" Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): error decoding 'receivers': error reading configuration for "sapm": decoding failed due to the following error(s): '' has invalid keys: access_token_passthrough 2024/12/12 09:31:41 main.go:92: application run finished with error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): error decoding 'receivers': error reading configuration for "sapm": decoding failed due to the following error(s): '' has invalid keys: access_token_passthrough

New (working) config:

sapm:
    endpoint: "${SPLUNK_LISTEN_INTERFACE}:7276"

README seems to be outdated / other issues behind?

Thanks,
Darius

Metadata

Assignees

No one assigned

    Labels

    exporter/sapmhelp wantedExtra attention is neededunmaintainedIdentifies issues/prs for unmaintained components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions