Skip to content

docs: update OTel environment variable and config guides#7221

Merged
codefromthecrypt merged 6 commits intomainfrom
adrian/otel-env-docs
Feb 18, 2026
Merged

docs: update OTel environment variable and config guides#7221
codefromthecrypt merged 6 commits intomainfrom
adrian/otel-env-docs

Conversation

@codefromthecrypt
Copy link
Collaborator

Summary

Updates documentation to canonical otel ENV

Type of Change

  • Documentation

AI Assistance

  • This PR was created or reviewed with AI assistance

Related Issues

Docs from #7144

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates OpenTelemetry documentation to describe enhanced environment variable support introduced in PR #7144. However, PR #7144 has not been merged yet, so this documentation describes features that do not currently exist in the codebase.

Changes:

  • Updated environment-variables.md to document per-signal OTel exporter configuration (OTEL_TRACES_EXPORTER, OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER, OTEL_SDK_DISABLED)
  • Added comment to config-files.md recommending environment variables over config file for OTel settings

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
documentation/docs/guides/environment-variables.md Expands OpenTelemetry section with per-signal exporter configuration, signal-specific endpoints, and updated examples
documentation/docs/guides/config-files.md Adds comment recommending ENV over config file for OTel configuration

@github-actions
Copy link
Contributor

github-actions bot commented Feb 14, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-18 19:49 UTC

@codefromthecrypt codefromthecrypt marked this pull request as draft February 14, 2026 01:04
@codefromthecrypt codefromthecrypt marked this pull request as ready for review February 14, 2026 01:27
Copilot AI review requested due to automatic review settings February 14, 2026 01:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
# Debug traces to console (no collector needed)
export OTEL_TRACES_EXPORTER="console"

# Sample 10% of traces (reduce volume in production)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

example for setting 10pct sampling as default is 100pct. 100pct is what a lot of APM backends want, as they can derive metrics from spans, but is expensive.

@blackgirlbytes
Copy link
Contributor

awesome! thanks..once your other PR is released..I think it will go out in the next release..then we can merge this! cc-ing: @dianed-square as well so she's aware.

Comment on lines 100 to 101
Copy link
Contributor

Choose a reason for hiding this comment

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

what does this mean? excuse my ignorance.

Copy link
Collaborator

Choose a reason for hiding this comment

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

i think i tmeans you can put it in the config, as here, but if you have environment variables, it will use them instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

ohhh okay. I will suggest a slight rewrite for clarity. thanks mic

- Remove OTEL entries from Global Settings table
- Remove OTEL block with awkward comment from Example Configuration
- Add new Observability Configuration section with:
  - Proper hyperlink to environment variables guide
  - Table with lowercase keys (matching what code expects)
  - YAML example
Copilot AI review requested due to automatic review settings February 18, 2026 19:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings February 18, 2026 19:40
@codefromthecrypt codefromthecrypt added this pull request to the merge queue Feb 18, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


## Observability Configuration

Configure goose to export telemetry to [OpenTelemetry](https://opentelemetry.io/docs/) compatible platforms. Environment variables override these settings and support additional options like per-signal configuration. See the [environment variables guide](/docs/guides/environment-variables#opentelemetry-protocol-otlp) for details.
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The anchor link #opentelemetry-protocol-otlp is broken. The section in environment-variables.md was renamed from "OpenTelemetry Protocol (OTLP)" to "Observability Configuration", so the anchor should be #observability-configuration.

Suggested change
Configure goose to export telemetry to [OpenTelemetry](https://opentelemetry.io/docs/) compatible platforms. Environment variables override these settings and support additional options like per-signal configuration. See the [environment variables guide](/docs/guides/environment-variables#opentelemetry-protocol-otlp) for details.
Configure goose to export telemetry to [OpenTelemetry](https://opentelemetry.io/docs/) compatible platforms. Environment variables override these settings and support additional options like per-signal configuration. See the [environment variables guide](/docs/guides/environment-variables#observability-configuration) for details.

Copilot uses AI. Check for mistakes.
Merged via the queue into main with commit 8884079 Feb 18, 2026
28 checks passed
@codefromthecrypt codefromthecrypt deleted the adrian/otel-env-docs branch February 18, 2026 19:46
jh-block added a commit that referenced this pull request Feb 18, 2026
* origin/main:
  docs: remove ALPHA_FEATURES flag from documentation (#7315)
  docs: escape variable syntax in recipes (#7314)
  docs: update OTel environment variable and config guides (#7221)
  docs: system proxy settings (#7311)
  docs: add Summon extension tutorial and update Skills references (#7310)
  docs: agent session id (#7289)
  fix(gemini-cli): restore streaming lost in #7247 (#7291)
  Update more instructions (#7305)
  feat: add Moonshot and Kimi Code declarative providers (#7304)
  fix(cli): handle Reasoning content and fix streaming thinking display (#7296)
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  fix(openai): support "reasoning" field alias in streaming deltas (#7294)
  fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300)
  New OpenAI event (#7301)
  ci: add fork guards to scheduled workflows (#7292)
michaelneale added a commit that referenced this pull request Feb 19, 2026
* main: (54 commits)
  docs: add monitoring subagent activity section (#7323)
  docs: document Desktop UI recipe editing for model/provider and extensions (#7327)
  docs: add CLAUDE_THINKING_BUDGET and CLAUDE_THINKING_ENABLED environm… (#7330)
  fix: display 'Code Mode' instead of 'code_execution' in CLI (#7321)
  docs: add Permission Policy documentation for MCP Apps (#7325)
  update RPI plan prompt (#7326)
  docs: add CLI syntax highlighting theme customization (#7324)
  fix(cli): replace shell-based update with native Rust implementation (#7148)
  docs: rename Code Execution extension to Code Mode extension (#7316)
  docs: remove ALPHA_FEATURES flag from documentation (#7315)
  docs: escape variable syntax in recipes (#7314)
  docs: update OTel environment variable and config guides (#7221)
  docs: system proxy settings (#7311)
  docs: add Summon extension tutorial and update Skills references (#7310)
  docs: agent session id (#7289)
  fix(gemini-cli): restore streaming lost in #7247 (#7291)
  Update more instructions (#7305)
  feat: add Moonshot and Kimi Code declarative providers (#7304)
  fix(cli): handle Reasoning content and fix streaming thinking display (#7296)
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments