Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appuio/promtool-jsonnet
Run promtool tests written in jsonnet
https://github.com/appuio/promtool-jsonnet
Last synced: 4 days ago
JSON representation
Run promtool tests written in jsonnet
- Host: GitHub
- URL: https://github.com/appuio/promtool-jsonnet
- Owner: appuio
- License: bsd-3-clause
- Created: 2024-02-23T15:39:32.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-26T12:52:14.000Z (11 months ago)
- Last Synced: 2024-06-21T08:19:25.898Z (7 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# promtool-jsonnet
[![Build](https://img.shields.io/github/workflow/status/appuio/promtool-jsonnet/Test)][build]
![Go version](https://img.shields.io/github/go-mod/go-version/appuio/promtool-jsonnet)
[![Version](https://img.shields.io/github/v/release/appuio/promtool-jsonnet)][releases]
[![GitHub downloads](https://img.shields.io/github/downloads/appuio/promtool-jsonnet/total)][releases][build]: https://github.com/appuio/promtool-jsonnet/actions?query=workflow%3ATest
[releases]: https://github.com/appuio/promtool-jsonnet/releases## Usage
### Run tests
```sh
export PJ_JSONNET_PATH=~"`pwd`/jsonnet/"
make ensure-prometheus
go run . --test-file ~/path/to/your/promtool/tests.jsonnet --add-yaml-file ~/path/to/supplemental/yaml/file.yml
```