You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(examples): update go push rideshare-alloy example (#3776)
* chore(examples): update go-push-rideshare-alloy example
* chore(examples): add link to the example
* Update examples/language-sdk-instrumentation/golang-push/rideshare-alloy/README.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
---------
Co-authored-by: Christian Simon <simon@swine.de>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/sources/configure-client/grafana-alloy/receive_profiles.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,8 @@ Check your specific language SDK documentation for the exact configuration optio
64
64
65
65
The examples in this section provide samples you can use as a starting point for your own configurations.
66
66
67
+
Explore the [example](https://github.com/grafana/pyroscope/tree/main/examples/language-sdk-instrumentation/golang-push/rideshare-alloy) in our GitHub repository to learn how to configure Grafana Alloy to receive profiles from a Golang application instrumented with Pyroscope.
68
+
67
69
### Basic receiving setup
68
70
69
71
This example shows a basic setup receiving profiles on port 9090 and forwarding them to a local Pyroscope instance:
Copy file name to clipboardExpand all lines: examples/language-sdk-instrumentation/golang-push/rideshare-alloy/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This example demonstrates how to use Alloy to receive and forward profiles from the rideshare example application.
4
4
5
+
To learn more about the `pyroscope.receive_http` component in Alloy, refer to the [`receive_profiles`](https://grafana.com/docs/pyroscope/latest/configure-client/grafana-alloy/receive_profiles/) documentation.
6
+
5
7
## Architecture
6
8
7
9
- Regional services (us-east, eu-north, ap-south) push profiles to Alloy
@@ -51,7 +53,5 @@ docker-compose up --build
51
53
# Reset if needed
52
54
docker-compose down
53
55
```
54
-
Access services:
55
56
56
-
- Grafana: http://localhost:3000
57
-
- Pyroscope: http://localhost:4040
57
+
Navigate to [Grafana](http://localhost:3000/a/grafana-pyroscope-app/profiles-explorer?explorationType=flame-graph&var-serviceName=ride-sharing-app&var-profileMetricId=process_cpu:cpu:nanoseconds:cpu:nanoseconds) to Explore Profiles.
0 commit comments