Skip to content

docs: Edit ECS tutorial to add new steps for the otelcol.receiver.awsecscontainermetrics component #5347

Open
clayton-cornell wants to merge 12 commits intomainfrom
docs/update-ecs-tutorial-ecs-connector
Open

docs: Edit ECS tutorial to add new steps for the otelcol.receiver.awsecscontainermetrics component #5347
clayton-cornell wants to merge 12 commits intomainfrom
docs/update-ecs-tutorial-ecs-connector

Conversation

@clayton-cornell
Copy link
Contributor

@clayton-cornell clayton-cornell commented Jan 26, 2026

Edit ECS tutorial to add new steps for the otelcol.receiver.awsecscontainermetrics component .

Split tutorial into two paths... the original "stable" option and the new experimental otelcol.receiver.awsecscontainermetrics option.

Clean up content:

  • fix bullets for consistency
  • fix the paths eg /bin/bash instead of just bash
  • removed some unused link definitions

Fixes #4566

Note to reviewers

I used AI to generate the configs. I do not have ECS to do any testing so I relied on AI to check the configuration examples. The configuration code snippets should be checked for validity and accuracy

Preview for review is here: https://deploy-preview-alloy-5347-zb444pucvq-vp.a.run.app/docs/alloy/latest/collect/ecs-opentelemetry-data/

@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2026

💻 Deploy preview available (docs: Edit ECS tutorial to add new steps for the otelcol.receiver.awsecscontainermetrics component ):

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 the ECS/Fargate OpenTelemetry collection tutorial to add an option using the experimental otelcol.receiver.awsecscontainermetrics component, and cleans up existing instructions and examples.

Changes:

  • Adds a new “native receiver” path using otelcol.receiver.awsecscontainermetrics with example Alloy configuration and required --stability.level=experimental flag.
  • Refactors the existing Prometheus ECS exporter path, clarifying it as the “stable” option and updating the Alloy configuration to current patterns (e.g., env(...), remote_write).
  • Normalizes bullets, shell paths (e.g., /bin/bash), container image versions, and removes unused link references.

clayton-cornell and others added 3 commits January 26, 2026 12:16
Fix potential shell injection vulnerability

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 1 out of 1 changed files in this pull request and generated 4 comments.

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 1 out of 1 changed files in this pull request and generated 2 comments.

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 1 out of 1 changed files in this pull request and generated 2 comments.

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Jan 26, 2026
@clayton-cornell clayton-cornell marked this pull request as ready for review January 26, 2026 11:13
@clayton-cornell clayton-cornell requested a review from a team January 26, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update "Collect Amazon Elastic Container Service or AWS Fargate OpenTelemetry data" topic to mention you can do this natively in alloy?

1 participant