Skip to content

docs(operator): copy sampler and propagation config from operator README#9684

Merged
theletterf merged 8 commits intoopen-telemetry:mainfrom
gayathri12devi:fix/operator-auto-instrumentation-docs
May 6, 2026
Merged

docs(operator): copy sampler and propagation config from operator README#9684
theletterf merged 8 commits intoopen-telemetry:mainfrom
gayathri12devi:fix/operator-auto-instrumentation-docs

Conversation

@gayathri12devi
Copy link
Copy Markdown
Contributor

Closes #2341

This PR copied the configuration docs from the operator README into the automatic.md page as requested by the maintainers in the issue.

This commit copies the following sections into automatic.md :

  1. Deployment modes and sidecar injection
  2. Upgrade Strategy
  3. Multi-container pod instrumentation
  4. Customized/vendor instrumentation
  5. Apache HTTPD and Nginx auto-instrumentation
  6. Target Allocator
  7. Controlling instrumentation capabilities
  8. Resource attributes configuration
  • I have read and followed the Contributing docs, especially the "First-time contributing?" section.
  • This PR has content that I did not fully write myself.
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR.1

Footnotes

  1. Yes, I can answer maintainer questions about the content of this PR, without using AI.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 19, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: gayathri12devi / name: gayathri12devi (edd9559)
  • ✅ login: gayathri12devi / name: Moha Gayathri (5b6d1d8, 84ab6a9, 91198ab, d07f86b, fe66aad)
  • ✅ login: otelbot[bot] / name: otelbot (385246e)
  • ✅ login: theletterf / name: Fabrizio Ferri-Benedetti (736d501)
  • ✅ login: tiffany76 / name: Tiffany Hrabusa (edd9559)

@otelbot-docs otelbot-docs Bot requested a review from a team April 19, 2026 03:55
@otelbot-docs otelbot-docs Bot added missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer missing:sig-approval Co-owning SIG didn't provide an approval labels Apr 19, 2026
@theletterf
Copy link
Copy Markdown
Member

Thank you, @gayathri12devi.

@open-telemetry/operator-approvers Please have a look.

@gayathri12devi
Copy link
Copy Markdown
Contributor Author

Thank you for the review, @theletterf!

@otelbot-docs otelbot-docs Bot removed the missing:sig-approval Co-owning SIG didn't provide an approval label Apr 20, 2026
@gayathri12devi
Copy link
Copy Markdown
Contributor Author

Hi!
I am a first-time contributor. Should I run /fix:all to fix the failing checks or would you prefer to guide me through it?

@otelbot-docs otelbot-docs Bot requested a review from a team April 21, 2026 03:32
The above command results in a deployment of the Collector that you can use as
an endpoint for auto-instrumentation in your pods.

## Deployment Modes
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would make more sense to have this in a seprate document. This page should be focused on the auto-instrumentation

instrumentation.opentelemetry.io/inject-sdk: "true"
```

## Target Allocator
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@otelbot-docs otelbot-docs Bot requested a review from a team April 21, 2026 16:01
@gayathri12devi
Copy link
Copy Markdown
Contributor Author

Thanks for the review! @pavolloffay I've removed the Deployment Modes and Target Allocator sections as suggested
I have a quick question should the "Configure resource attributes" section also be removed, or is it acceptable to keep it here?

@tiffany76
Copy link
Copy Markdown
Member

I am a first-time contributor. Should I run /fix:all to fix the failing checks or would you prefer to guide me through it?

Hi @gayathri12devi! Thanks for your contribution! We'll definitely help you out with the CI checks.

Yes, you can use GitHub actions to fix them on the PR. If you're more comfortable working locally, you can also run the fix commands on your machine and push up the changes.

I'll try a GItHub action command now to see how many of the checks we can get passing.

@tiffany76
Copy link
Copy Markdown
Member

/fix

@otelbot-docs
Copy link
Copy Markdown
Contributor

otelbot-docs Bot commented Apr 21, 2026

fix applied successfully in run 24741083899.

Comment thread .cspell/en-words.txt
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @gayathri12devi! We reserve this file for words that are widely used. Could you revert the changes you made to this file and instead add them to the cSpell:ignore front matter of the docs page? I'll leave a comment to show you exactly where they need to go.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you @tiffany76! I wasn't aware of the cSpell:ignore front matter convention. I've committed your suggestion and reverted the changes to cspell/en-words.txt.

Comment thread content/en/docs/platforms/kubernetes/operator/automatic.md Outdated
@gayathri12devi
Copy link
Copy Markdown
Contributor Author

gayathri12devi commented Apr 25, 2026

@tiffany76 I noticed my PR shows some extra words being added to en-words.txt like dotnet, Dyla, dynatrace etc. These were already present in my local fork before I started this PR. I didn't add them intentionally. I also noticed that chalin restructured the cSpell file 2 days ago in the main repo, and my fork still has the older version with those extra words. Should I sync my fork's en-words.txt with the latest main branch to fix this?

@tiffany76
Copy link
Copy Markdown
Member

@gayathri12devi, try rebasing off the latest main branch. That should fix the cSpell issue. 🤞

gayathri12devi and others added 6 commits April 25, 2026 17:26
Closes open-telemetry#2341

The operator README contains configuration docs for sampler and propagation that were missing from the official docs site at https://opentelemetry.io/docs/platforms/kubernetes/operator/automatic/

Instead of linking out to the operator repo, this commit copies the following sections directly into automatic.md as requested:
1. Deployment modes and sidecar injection
2. Upgrade Strategy
3. Multi-container pod instrumentaion
4. Customized/vendor instrumentaion
5. Apache HTTPD and Nginx auto-instrumentation
6. Target Allocator
7. Controlling instrumentation capabilities
8. Resource attributes configuration
Co-authored-by: Tiffany Hrabusa <30397949+tiffany76@users.noreply.github.com>
@gayathri12devi gayathri12devi force-pushed the fix/operator-auto-instrumentation-docs branch from a38b315 to edd9559 Compare April 25, 2026 17:29
@gayathri12devi
Copy link
Copy Markdown
Contributor Author

@tiffany76 Done! I've rebased my branch on top of the latest main.

@gayathri12devi
Copy link
Copy Markdown
Contributor Author

@tiffany76 The /docs/specs/semconv/non-normative/k8s-attributes.md path doesn't seem to exist in the repo and is causing the CHECK LINKS failure. Should I revert it back to the original external GitHub URL. Also, the CSPELL word lists check is suggesting to run /fix:dict should I go ahead and do that?

@tiffany76
Copy link
Copy Markdown
Member

@gayathri12devi Yes, please run fix:dict locally and push up any changes. It will adjust the front matter formatting.

As for the link, the page exists. The problem is the .md. Change the link to /docs/specs/semconv/non-normative/k8s-attributes/ and it should work.

Copy link
Copy Markdown
Member

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

LGTM. @pavolloffay, PTAL before we merge.

@otelbot-docs otelbot-docs Bot removed the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label May 6, 2026
@otelbot-docs otelbot-docs Bot added the missing:sig-approval Co-owning SIG didn't provide an approval label May 6, 2026
@theletterf theletterf merged commit e6937ea into open-telemetry:main May 6, 2026
24 checks passed
@otelbot
Copy link
Copy Markdown
Contributor

otelbot Bot commented May 6, 2026

Thank you for your contribution @gayathri12devi! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing:sig-approval Co-owning SIG didn't provide an approval

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Link to sampler and propagation config in OTel operator docs

5 participants