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

docs: adds an otelcollector example #2277

Open
wants to merge 4 commits into
base: next
Choose a base branch
from
Open

docs: adds an otelcollector example #2277

wants to merge 4 commits into from

Conversation

petethepig
Copy link
Member

This adds an example that shows how you can profile otel collector using Grafana Pyroscope and Grafana Agent.

Key steps:

  • make sure to enable and configure pprof extension on the collector side (otelcollector.yaml` file)
  • configure Grafana Agent to scrape profiles from the collector (agent/config.river file)

@petethepig petethepig requested a review from a team as a code owner August 18, 2023 21:28
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

Works for me LGTM

@petethepig
Copy link
Member Author

This was intended as an example for a customer, closing

@petethepig petethepig closed this Aug 29, 2023
@knylander-grafana knylander-grafana added type/docs Improvements for doc docs. Used by Docs team for project management and removed type/docs Improvements for doc docs. Used by Docs team for project management labels May 9, 2024
@Rperry2174 Rperry2174 reopened this May 29, 2024
grpc:

exporters:
logging:

Choose a reason for hiding this comment

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

this is "debug" nowadays -- alternatively, it could use the nop exporter

Copy link
Contributor

@knylander-grafana knylander-grafana left a comment

Choose a reason for hiding this comment

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

Thank you for adding a thorough readme for the OTel Collector example! I have some questions about the content and made some suggestions.

@knylander-grafana knylander-grafana added the type/docs Improvements for doc docs. Used by Docs team for project management label Jun 18, 2024
examples/otelcollector/README.md Outdated Show resolved Hide resolved
examples/otelcollector/README.md Outdated Show resolved Hide resolved
Co-authored-by: Juraci Paixão Kröhling <[email protected]>

### 1. Configure Grafana agent

For Grafana Alloy to pull profiles from your application, configure the agent for things like profiling configuration, targets, and possibly authentication.
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you usingAlloy or Agent for this example? The links and text all point to Agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Improvements for doc docs. Used by Docs team for project management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants