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

stardog: Unset custom scrape interval #503

Merged
merged 2 commits into from
Jul 2, 2024
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/secret-1.1.0/total)](https://github.com/appuio/charts/releases/tag/secret-1.1.0) | [secret](appuio/secret/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/signalilo-0.12.1/total)](https://github.com/appuio/charts/releases/tag/signalilo-0.12.1) | [signalilo](appuio/signalilo/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.25.0/total)](https://github.com/appuio/charts/releases/tag/stardog-0.25.0) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.26.0/total)](https://github.com/appuio/charts/releases/tag/stardog-0.26.0) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.3.0/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.3.0) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-2.0.2/total)](https://github.com/appuio/charts/releases/tag/trifid-2.0.2) | [trifid](appuio/trifid/README.md) |

Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: stardog
version: 0.25.0
version: 0.26.0
appVersion: 10.0.1
description: Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.
home: "https://www.stardog.com/"
Expand Down
6 changes: 4 additions & 2 deletions appuio/stardog/README.gotmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ The following table lists the configurable parameters chart. For default values
| `ingress.host` | Host name which the ingress should resolve |
| `ingress.tls.enabled` | If TLS should be enabled on the ingress |
| `ingress.tls.secretName` | Name of the secret containing the TLS certificate and key |
| `metrics.stardogRules.extraLabels` | A hash of labels to add to Stardog's PrometheusRules |
| `metrics.zookeeperRules.extraLabels` | A hash of labels to add to ZooKeeper's PrometheusRules |
| `metrics.stardogRules.extraLabels` | A hash of labels to add to Stardog's PrometheusRules |
| `metrics.zookeeperRules.extraLabels` | A hash of labels to add to ZooKeeper's PrometheusRules |
| `metrics.serviceMonitor.interval` | Overwrite Prometheus' default scrape interval for the Stardog ServiceMonitor |
| `metrics.serviceMonitor.timeout` | Overwrite Prometheus' default scrape timeout for the Stardog ServiceMonitor |
| `persistence.enabled` | Enable persistence using PVC |
| `persistence.storageClass` | PVC storage class for Stardog data volume |
| `persistence.size` | PVC storage request size for Stardog data volume |
Expand Down
8 changes: 5 additions & 3 deletions appuio/stardog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stardog

![Version: 0.25.0](https://img.shields.io/badge/Version-0.25.0-informational?style=flat-square) ![AppVersion: 10.0.1](https://img.shields.io/badge/AppVersion-10.0.1-informational?style=flat-square)
![Version: 0.26.0](https://img.shields.io/badge/Version-0.26.0-informational?style=flat-square) ![AppVersion: 10.0.1](https://img.shields.io/badge/AppVersion-10.0.1-informational?style=flat-square)

Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.

Expand Down Expand Up @@ -78,8 +78,10 @@ The following table lists the configurable parameters chart. For default values
| `ingress.host` | Host name which the ingress should resolve |
| `ingress.tls.enabled` | If TLS should be enabled on the ingress |
| `ingress.tls.secretName` | Name of the secret containing the TLS certificate and key |
| `metrics.stardogRules.extraLabels` | A hash of labels to add to Stardog's PrometheusRules |
| `metrics.zookeeperRules.extraLabels` | A hash of labels to add to ZooKeeper's PrometheusRules |
| `metrics.stardogRules.extraLabels` | A hash of labels to add to Stardog's PrometheusRules |
| `metrics.zookeeperRules.extraLabels` | A hash of labels to add to ZooKeeper's PrometheusRules |
| `metrics.serviceMonitor.interval` | Overwrite Prometheus' default scrape interval for the Stardog ServiceMonitor |
| `metrics.serviceMonitor.timeout` | Overwrite Prometheus' default scrape timeout for the Stardog ServiceMonitor |
| `persistence.enabled` | Enable persistence using PVC |
| `persistence.storageClass` | PVC storage class for Stardog data volume |
| `persistence.size` | PVC storage request size for Stardog data volume |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ spec:
# unless there is a cleaner way of doing this, the name "admin" must be stored in a secret:
name: {{ template "stardog.fullname" . }}-admin-username
key: adminusername
interval: 3s
{{- if .Values.metrics.serviceMonitor.interval }}
interval: {{ quote .Values.metrics.serviceMonitor.interval }}
{{- end }}
path: /admin/status/prometheus
port: stardog
scrapeTimeout: 3s
{{- if .Values.metrics.serviceMonitor.timeout }}
scrapeTimeout: {{ quote .Values.metrics.serviceMonitor.timeout }}
{{- end }}
jobLabel: app.kubernetes.io/instance
podTargetLabels:
- app.kubernetes.io/component
Expand Down
6 changes: 6 additions & 0 deletions appuio/stardog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ persistence:
metrics:
enabled: false
prometheusOperator: false
serviceMonitor:
# Scrape interval and timeout.
# Interval may not be smaller than timeout.
# interval: 10s
# timeout: 10s
stardogRules:
extraLabels: null
zookeeperRules:
Expand All @@ -92,6 +97,7 @@ metrics:
repository: sscaling/jmx-prometheus-exporter
tag: 0.12.0
pullPolicy: IfNotPresent

alerts:
httpCheck:
for:
Expand Down
Loading