Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polarsignals/sources-demo


https://github.com/polarsignals/sources-demo

Last synced: 3 days ago
JSON representation

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)