Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Add ipv6 addresses to schema validation (#500)
Browse files Browse the repository at this point in the history
Update prometheus rule for Promscale chart
  • Loading branch information
nhudson authored Nov 21, 2022
1 parent 5397bd0 commit 0202a1f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ jobs:
- name: Check changed charts
id: changed-charts
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} | grep promscale)
if [ -n $changed ]; then
echo "::set-output name=charts::${changed}"
echo "CHARTS=${changed}" >> $GITHUB_OUTPUT
fi
- name: Pre-install DB
if: steps.changed-charts.outputs.charts == 'charts/promscale'
if: steps.changed-charts.outputs.CHARTS != ''
run: make install-db

- name: Run e2e chart-testing
Expand Down
2 changes: 1 addition & 1 deletion charts/promscale/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: promscale
description: Promscale Connector deployment

version: 14.4.2
version: 14.5.0
appVersion: 0.16.0

home: https://github.com/timescale/promscale
Expand Down
10 changes: 10 additions & 0 deletions charts/promscale/templates/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ spec:
summary: Slow Promscale ingestion.
description: "Slowest 10% of ingestion batch took more than {{ $value | humanizeDuration }} seconds to ingest."
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleIngestHighLatency.md
- alert: PromscaleIngestHighDataDuplication
expr: |
rate(promscale_ingest_duplicates_total{kind="sample"}[5m]) > 0
for: 5m
labels:
severity: warning
annotations:
summary: Duplicate data being inserted.
description: "More than {{ $value }} samples/sec are rejected as duplicates by promscale."
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleIngestHighDataDuplication.md
- name: promscale-query
rules:
- alert: PromscaleQueryHighErrorRate
Expand Down
2 changes: 1 addition & 1 deletion charts/timescaledb-single/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v1
name: timescaledb-single
description: 'TimescaleDB HA Deployment.'
version: 0.23.0
version: 0.24.0
# appVersion specifies the version of the software, which can vary wildly,
# e.g. TimescaleDB 1.4.1 on PostgreSQL 11 or TimescaleDB 1.5.0 on PostgreSQL 12.
# https://github.com/helm/helm/blob/master/docs/charts.md#the-appversion-field
Expand Down
6 changes: 4 additions & 2 deletions charts/timescaledb-single/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@
},
"listen": {
"enum": [
"0.0.0.0:5432"
"0.0.0.0:5432",
":::5432"
],
"type": "string"
},
Expand Down Expand Up @@ -502,7 +503,8 @@
"properties": {
"listen": {
"enum": [
"0.0.0.0:8008"
"0.0.0.0:8008",
":::8008"
],
"type": "string"
}
Expand Down
2 changes: 2 additions & 0 deletions charts/timescaledb-single/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ properties:
type: string
enum:
- 0.0.0.0:8008
- :::8008
bootstrap:
type: object
properties:
Expand Down Expand Up @@ -312,6 +313,7 @@ properties:
type: string
enum:
- "0.0.0.0:5432"
- ":::5432"
pgbackrest:
type: object
properties:
Expand Down

0 comments on commit 0202a1f

Please sign in to comment.