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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/otelcollector/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Grafana Agent Pull Mode Integration
# Grafana Agent mull mode integration

knylander-grafana marked this conversation as resolved.
Show resolved Hide resolved
This example demonstrates how you can use Grafana Agent with Grafana Pyroscope to profile otel collector.

### 1. Configure Grafana agent

You'll need to configure the Grafana agent for things like profiling configuration, targets, and possibly authentication in order to have the Grafana Agent pull profiles from your application.
For Grafana Agent to pull profiles from your application, configure the agent for things like profiling configuration, targets, and possibly authentication.

knylander-grafana marked this conversation as resolved.
Show resolved Hide resolved
You can find a list of [arguments](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#arguments) and [supported blocks](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#blocks) in the [Grafana Agent documentation for pyroscope](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/)
You can find a list of [arguments](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#arguments) and [supported blocks](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/#blocks) in the [Grafana Agent documentation for Pyroscope](https://grafana.com/docs/agent/next/flow/reference/components/pyroscope.scrape/)

Refer to [config file](./agent/config/config.river) to see an example of how to configure Grafana Agent to send profiling data to Pyroscope.

### 2. Run Grafana agent, Grafana and Pyroscope
### 2. Run Grafana agent, Grafana, and Pyroscope

```shell
docker-compose up -d
Expand Down
Loading