Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polarsignals/sources-demo
https://github.com/polarsignals/sources-demo
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/polarsignals/sources-demo
- Owner: polarsignals
- Created: 2023-08-18T07:37:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-31T13:08:52.000Z (about 1 year ago)
- Last Synced: 2024-06-21T05:00:03.551Z (5 months ago)
- Language: Go
- Size: 2.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sources Demo
This repository contains sample data to try out the source view feature of Polar Signals Cloud.
If you want to learn how to produce the data for your own code and profiling data, [check out the docs](https://polarsignals.com/docs/upload-source).
## Prerequisites
* [Install `parca-debuginfo`](https://polarsignals.com/docs/install-parca-debuginfo)
* [Install `parca-push`](https://polarsignals.com/docs/install-parca-push)## Demo
Upload the source archive to your Polar Signals Cloud project.
```
parca-debuginfo upload --build-id="$(parca-debuginfo buildid ./main)" --type=sources source.tar.zstd --store-address=grpc.polarsignals.com:443 --bearer-token=
```And let's send some
```
parca-push --override-timestamp --remote-store-address=grpc.polarsignals.com:443 --remote-store-bearer-token= --labels=__name__=parca_agent_cpu pprof.pb.gz
```Now you can view the example profiling data and open the source view for it!
It should look something like this:
![Screenshot showing source file with profiling data](screenshot.png)