https://github.com/parca-dev/jsonnet-libs
Experimental Jsonnet libraries for Parca
https://github.com/parca-dev/jsonnet-libs
continuous-profiling kubernetes parca
Last synced: 9 months ago
JSON representation
Experimental Jsonnet libraries for Parca
- Host: GitHub
- URL: https://github.com/parca-dev/jsonnet-libs
- Owner: parca-dev
- License: apache-2.0
- Created: 2022-02-17T00:16:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T23:06:27.000Z (10 months ago)
- Last Synced: 2025-04-19T13:44:42.006Z (9 months ago)
- Topics: continuous-profiling, kubernetes, parca
- Language: Jsonnet
- Homepage:
- Size: 57.6 KB
- Stars: 3
- Watchers: 10
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parca's jsonnet-libs
**Experimental** Jsonnet libraries for Parca
> **Warning**: APIs may change without notice.
## scrape-configs
Provides helper functions to generate scrape job configurations using
[Kubernetes service discovery](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config)
equivalent to [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator)'s
[PodMonitor](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.PodMonitor) and
[ServiceMonitor](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.ServiceMonitor)
custom resources.
Install with [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler):
```shell
jb install github.com/parca-dev/jsonnet-libs/scrape-configs@main
```
See [examples](examples) for more details.