Skip to content
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

Deprecate SPLUNK_TRACE_URL env var and don't use it in default configs #5672

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

dmitryax
Copy link
Contributor

@dmitryax dmitryax commented Dec 6, 2024

Deprecate SPLUNK_TRACE_URL environment variable and replace with ${SPLUNK_INGEST_URL}/v2/tracein the default configs. SPLUNK_TRACE_URL is still automatically set in the binary computed from on SPLUNK_REALM or SPLUNK_INGEST_URL environment variables to not break existing configurations. However, it is recommended to
update the configurations to use ${SPLUNK_INGEST_URL}/v2/trace instead.

Also, packaging and mass deployment solutions were update to not provide the option to set the Trace URL since it's not being used anymore in the default configs.

@dmitryax dmitryax requested review from a team as code owners December 6, 2024 19:23
@dmitryax dmitryax force-pushed the deprecate-trace-url-env-var branch 2 times, most recently from 63596b9 to 9608808 Compare December 6, 2024 19:26
Copy link
Contributor

@asreehari-splunk asreehari-splunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmitryax dmitryax force-pushed the deprecate-trace-url-env-var branch 7 times, most recently from 9d2dc59 to c53af48 Compare December 8, 2024 22:34
Deprecate `SPLUNK_TRACE_URL` environment variable and replace with `${SPLUNK_INGEST_URL}/v2/trace`in the default configs. `SPLUNK_TRACE_URL` is still automatically set in the binary computed from on `SPLUNK_REALM` or `SPLUNK_INGEST_URL` environment variables to not break existing configurations. However, it is recommended to
  update the configurations to use `${SPLUNK_INGEST_URL}/v2/trace` instead.

Also, packaging and mass deployment solutions were update to not provide the option to set the Trace URL since it's not being used anymore in the default configs.
@dmitryax dmitryax force-pushed the deprecate-trace-url-env-var branch from c53af48 to 659ac72 Compare December 8, 2024 23:34
@dmitryax dmitryax merged commit 9adee45 into main Dec 9, 2024
571 checks passed
@dmitryax dmitryax deleted the deprecate-trace-url-env-var branch December 9, 2024 06:14
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants