Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add prometheus-pushgateway rock #89

Merged
merged 5 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions oci/prometheus-pushgateway/.trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Upstream CVEs

# golang.org/x/net - golang: net/http, x/net/http2: rapid stream resets can cause excessive work (CVE-2023-44487)
CVE-2023-39325
5 changes: 5 additions & 0 deletions oci/prometheus-pushgateway/contacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
notify:
emails:
- observability@lists.launchpad.net
mattermost-channels:
- 1ayd5kim67bbing34i3h1x9uac
34 changes: 34 additions & 0 deletions oci/prometheus-pushgateway/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 1
# --- OVERVIEW INFORMATION ---
application: prometheus-pushgateway
description: >
The Prometheus Pushgateway allows ephemeral and batch jobs to expose their
metrics to Prometheus. Read more on the
[prometheus pushgateway repository](https://github.com/prometheus/pushgateway).
# --- USAGE INFORMATION ---
docker:
parameters:
- -p 9091:9091
access: Access your Pushgateway instance at `http://localhost:9091`.
parameters:
- type: -e
value: 'TZ=UTC'
description: Timezone.
- type: -p
value: '9091:9091'
description: Expose the Pushgateway on `localhost:9091`.
debug:
text: |
### Debugging

To debug the container:

```bash
docker logs -f pushgateway-container
```

To get an interactive shell:

```bash
docker exec -it pushgateway-container /bin/bash
```
34 changes: 34 additions & 0 deletions oci/prometheus-pushgateway/image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 1
upload:
- source: canonical/prometheus-pushgateway-rock
commit: cc26d33f7ef75a82b95bdf1853ae7e536c5775c3
directory: 1.6.2
release:
1.6.2-22.04:
end-of-life: "2024-12-08T00:00:00Z"
risks:
- stable
1.6-22.04:
end-of-life: "2024-12-08T00:00:00Z"
risks:
- stable
1-22.04:
end-of-life: "2024-12-08T00:00:00Z"
risks:
- stable
- source: canonical/prometheus-pushgateway-rock
commit: cc26d33f7ef75a82b95bdf1853ae7e536c5775c3
directory: 1.6.1
release:
1.6.1-22.04:
end-of-life: "2024-12-08T00:00:00Z"
risks:
- stable
- source: canonical/prometheus-pushgateway-rock
commit: cc26d33f7ef75a82b95bdf1853ae7e536c5775c3
directory: 1.6.0
release:
1.6.0-22.04:
end-of-life: "2024-12-08T00:00:00Z"
risks:
- stable