Skip to content

Commit

Permalink
Update example links to point to branch (#3062)
Browse files Browse the repository at this point in the history
This was broken by #3026
  • Loading branch information
simonswine authored Feb 29, 2024
1 parent ab3bf8e commit 847b282
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
18 changes: 9 additions & 9 deletions docs/sources/configure-client/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,49 +48,49 @@ To get started choose one of the integrations below:
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/go_pull"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/223048/257522425-48683963-91ae-4caf-8c52-ce131e25bd65.png" width="100px;" alt=""/><br />
<b>Grafana Agent</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/go_pull/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/grafana-agent" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/grafana-agent" title="examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/go_push/"><img src="https://user-images.githubusercontent.com/23323466/178160549-2d69a325-56ec-4e19-bca7-d460d400b163.png" width="100px;" alt=""/><br />
<b>Golang</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/go_push/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/golang-push" title="golang-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/golang-push" title="golang-examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/java/"><img src="https://user-images.githubusercontent.com/23323466/178160550-2b5a623a-0f4c-4911-923f-2c825784d45d.png" width="100px;" alt=""/><br />
<b>Java</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/java/">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/java/rideshare" title="java-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/java/rideshare" title="java-examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/ebpf"><img src="https://user-images.githubusercontent.com/23323466/178160548-e974c080-808d-4c5d-be9b-c983a319b037.png" width="100px;" alt=""/><br />
<b>eBPF</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/ebpf" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/ebpf" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/ebpf" title="examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/python/"><img src="https://user-images.githubusercontent.com/23323466/178160553-c78b8c15-99b4-43f3-a2a0-252b6c4862b1.png" width="100px;" alt=""/><br />
<b>Python</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/python/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/python" title="python-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/python" title="python-examples">Examples</a>
</td>
</tr>
<tr>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/dotnet/"><img src="https://user-images.githubusercontent.com/23323466/178160544-d2e189c6-a521-482c-a7dc-5375c1985e24.png" width="100px;" alt=""/><br />
<b>Dotnet</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/dotnet/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/dotnet" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/dotnet" title="examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/ruby/"><img src="https://user-images.githubusercontent.com/23323466/178160554-b0be2bc5-8574-4881-ac4c-7977c0b2c195.png" width="100px;" alt=""/><br />
<b>Ruby</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/ruby/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/ruby" title="ruby-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/ruby" title="ruby-examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/nodejs/"><img src="https://user-images.githubusercontent.com/23323466/178160551-a79ee6ff-a5d6-419e-89e6-39047cb08126.png" width="100px;" alt=""/><br />
<b>NodeJS</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/nodejs/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/nodejs/express" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/nodejs/express" title="examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/rust/"><img src="https://user-images.githubusercontent.com/23323466/178160555-fb6aeee7-5d31-4bcb-9e3e-41e9f2f7d5b4.png" width="100px;" alt=""/><br />
<b>Rust</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/rust/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/rust/rideshare" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/rust/rideshare" title="examples">Examples</a>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/configure-client/go-span-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The profile type or app must be selected for the query to be valid. Grafana does

## Examples

Check out the [examples](https://github.com/grafana/pyroscope/tree/main/examples/tracing/tempo) directory in our repository to
Check out the [examples](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/tracing/tempo) directory in our repository to
find a complete example application that demonstrates tracing integration features.

<!-- ## Using tracing exemplars manually
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/configure-client/grafana-agent/go_pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ router.PathPrefix("/debug/pprof").Handler(http.DefaultServeMux)
```
## References
[Example using grafana-agent](https://github.com/grafana/pyroscope/tree/main/examples/grafana-agent).
[Example using grafana-agent](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/grafana-agent).
[pyroscope.scrape](/docs/agent/latest/flow/reference/components/pyroscope.scrape/)
[pyroscope.write](/docs/agent/latest/flow/reference/components/pyroscope.write/)
[discovery.kubernetes](/docs/agent/latest/flow/reference/components/discovery.kubernetes/)
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/configure-client/grafana-agent/java/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ pyroscope.write "example" {
## References
For more information:

* [Examples](https://github.com/grafana/pyroscope/tree/main/examples/grafana-agent/java)
* [Examples](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/grafana-agent/java)
* [`pyroscope.java`](/docs/agent/next/flow/reference/components/pyroscope.java/)
* [`discovery.process`](/docs/agent/next/flow/reference/components/discovery.process/)
* [`discovery.kubernetes`](/docs/agent/next/flow/reference/components/discovery.kubernetes/)
16 changes: 8 additions & 8 deletions docs/sources/configure-client/language-sdks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,44 +16,44 @@ The following languages SDKs provide support for sending profiles from your appl
<td align="center"><a href="./go_push"><img src="https://user-images.githubusercontent.com/23323466/178160549-2d69a325-56ec-4e19-bca7-d460d400b163.png" width="100px;" alt=""/><br />
<b>Golang</b></a><br />
<a href="./go_push" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/golang-push" title="golang-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/golang-push" title="golang-examples">Examples</a>
</td>
<td align="center"><a href="./java"><img src="https://user-images.githubusercontent.com/23323466/178160550-2b5a623a-0f4c-4911-923f-2c825784d45d.png" width="100px;" alt=""/><br />
<b>Java</b></a><br />
<a href="./java" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/java/rideshare" title="java-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/java/rideshare" title="java-examples">Examples</a>
</td>
<td align="center"><a href="./python"><img src="https://user-images.githubusercontent.com/23323466/178160553-c78b8c15-99b4-43f3-a2a0-252b6c4862b1.png" width="100px;" alt=""/><br />
<b>Python</b></a><br />
<a href="./python" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/python" title="python-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/python" title="python-examples">Examples</a>
</td>
<td align="center"><a href="./ruby"><img src="https://user-images.githubusercontent.com/23323466/178160554-b0be2bc5-8574-4881-ac4c-7977c0b2c195.png" width="100px;" alt=""/><br />
<b>Ruby</b></a><br />
<a href="./ruby" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/ruby" title="ruby-examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/ruby" title="ruby-examples">Examples</a>
</td>
</tr>
<tr>
<td align="center"><a href="./nodejs"><img src="https://user-images.githubusercontent.com/23323466/178160551-a79ee6ff-a5d6-419e-89e6-39047cb08126.png" width="100px;" alt=""/><br />
<b>NodeJS</b></a><br />
<a href="./nodejs" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/nodejs/express" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/nodejs/express" title="examples">Examples</a>
</td>
<td align="center"><a href="./dotnet"><img src="https://user-images.githubusercontent.com/23323466/178160544-d2e189c6-a521-482c-a7dc-5375c1985e24.png" width="100px;" alt=""/><br />
<b>Dotnet</b></a><br />
<a href="./dotnet" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/dotnet" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/dotnet" title="examples">Examples</a>
</td>
<td align="center"><a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/ebpf/"><img src="https://user-images.githubusercontent.com/23323466/178160548-e974c080-808d-4c5d-be9b-c983a319b037.png" width="100px;" alt=""/><br />
<b>eBPF</b></a><br />
<a href="https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/ebpf/" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/ebpf" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/ebpf" title="examples">Examples</a>
</td>
<td align="center"><a href="./rust"><img src="https://user-images.githubusercontent.com/23323466/178160555-fb6aeee7-5d31-4bcb-9e3e-41e9f2f7d5b4.png" width="100px;" alt=""/><br />
<b>Rust</b></a><br />
<a href="./rust" title="Documentation">Documentation</a><br />
<a href="https://github.com/grafana/pyroscope/tree/main/examples/rust/rideshare" title="examples">Examples</a>
<a href="https://github.com/grafana/pyroscope/tree/release/v1.4/examples/rust/rideshare" title="examples">Examples</a>
</td>
</tr>
</table>
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/configure-client/language-sdks/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ If your Pyroscope server has multi-tenancy enabled, you'll need to configure a t
## Java profiling examples

Check out the following resources to learn more about Java profiling:
- [Java examples](https://github.com/grafana/pyroscope/tree/main/examples/java/rideshare)
- [Java examples](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/java/rideshare)
- [Java Demo](https://demo.pyroscope.io/?query=rideshare-app-java.itimer%7B%7D) showing Java example with tags
- [Java blog post](https://github.com/grafana/pyroscope/tree/main/examples/java/rideshare#readme)
- [Java blog post](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/java/rideshare#readme)
2 changes: 1 addition & 1 deletion docs/sources/configure-client/language-sdks/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ If your Pyroscope server has multi-tenancy enabled, you'll need to configure a t
## Python profiling examples

Check out the following resources to learn more about Python profiling:
- [Python examples](https://github.com/pyroscope-io/pyroscope/tree/main/examples/python)
- [Python examples](https://github.com/pyroscope-io/pyroscope/tree/release/v1.4/examples/python)
- [Python demo](https://demo.pyroscope.io/?query=rideshare-app-python.cpu%7B%7D) showing Python example with tags
2 changes: 1 addition & 1 deletion docs/sources/configure-client/language-sdks/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ If your Pyroscope server has multi-tenancy enabled, you'll need to configure a t
## Ruby profiling examples

Check out the following resources to learn more about Ruby profiling:
- [Ruby examples](https://github.com/pyroscope-io/pyroscope/tree/main/examples/ruby)
- [Ruby examples](https://github.com/pyroscope-io/pyroscope/tree/release/v1.4/examples/ruby)
- [Ruby Demo](https://demo.pyroscope.io/?query=rideshare-app-ruby.cpu%7B%7D) showing Ruby example with tags
4 changes: 2 additions & 2 deletions docs/sources/configure-client/language-sdks/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,5 @@ As of 0.5.0, the Pyroscope Agent supports tagging within threads. Check the [tag

#### Stand-alone examples

- [**basic**](https://github.com/grafana/pyroscope/tree/main/examples/rust/basic): Simple Rust application that uses the Pyroscope Library.
- [**rideshare**](https://github.com/grafana/pyroscope/tree/main/examples/rust/rideshare): A multi-instances web service running on Docker.
- [**basic**](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/rust/basic): Simple Rust application that uses the Pyroscope Library.
- [**rideshare**](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/rust/rideshare): A multi-instances web service running on Docker.
4 changes: 2 additions & 2 deletions docs/sources/configure-server/about-server-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ When using this format, certain query parameters have specific behaviors:

Pyroscope server inherently supports standard Go profile types such as `cpu`, `inuse_objects`, `inuse_space`, `alloc_objects`, and `alloc_space`. When dealing with software that generates data in pprof format, you may need to supply a custom sample type configuration for Pyroscope to interpret the data correctly.

For an example Python script to ingest a pprof file with a custom sample type configuration, see **[this Python script](https://github.com/grafana/pyroscope/tree/main/examples/api/ingest_pprof.py).**
For an example Python script to ingest a pprof file with a custom sample type configuration, see **[this Python script](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/api/ingest_pprof.py).**

To ingest pprof data with custom sample type configuration, modify your requests as follows:
* Set Content-Type to `multipart/form-data`.
Expand Down Expand Up @@ -413,7 +413,7 @@ url = f'http://localhost:4040/pyroscope/render?query={query}&from={query_from}'
requests.get(url)
```

See [this Python script](https://github.com/grafana/pyroscope/tree/main/examples/api/query.py) for a complete example.
See [this Python script](https://github.com/grafana/pyroscope/tree/release/v1.4/examples/api/query.py) for a complete example.

## Profile CLI

Expand Down

0 comments on commit 847b282

Please sign in to comment.