Skip to content

Commit

Permalink
fix: Get it back to work with Perses 0.47.0
Browse files Browse the repository at this point in the history
Update the schemas and default datasource to get it back working with the latest release of Perses.
  • Loading branch information
indigo423 committed Aug 8, 2024
1 parent b903216 commit 40725ba
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
4 changes: 2 additions & 2 deletions charts/perses/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: perses
description: Perses helm chart
icon: https://avatars.githubusercontent.com/u/77209215?s=200&v=4
type: application
version: 0.3.0
appVersion: "0.42.1"
version: 1.0.0
appVersion: "v0.47.0"
sources:
- https://github.com/perses/perses
annotations:
Expand Down
31 changes: 17 additions & 14 deletions charts/perses/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ config:

# -- Schemas paths
schemas:
panels_path: "/etc/perses/schemas/panels"
queries_path: "/etc/perses/schemas/queries"
datasources_path: "/etc/perses/schemas/datasources"
variables_path: "/etc/perses/schemas/variables"
panels_path: "/etc/perses/cue/schemas/panels"
queries_path: "/etc/perses/cue/schemas/queries"
datasources_path: "/etc/perses/cue/schemas/datasources"
variables_path: "/etc/perses/cue/schemas/variables"
interval: "6h"

# -- Important dashboards list
important_dashboards:
Expand Down Expand Up @@ -182,13 +183,15 @@ ingress:
# -- Configure datasources
# ref: https://github.com/perses/perses/blob/90beed356243208f14cf2249bebb6f6222cb77ae/docs/datasource.md
datasources:
[]
# - kind: GlobalDatasource
# metadata:
# name: PrometheusDemoBrowser
# spec:
# default: true
# plugin:
# kind: PrometheusDatasource
# spec:
# directUrl: https://prometheus.demo.do.prometheus.io
- kind: Datasource
metadata:
name: PrometheusLocalhost
project: perses
spec:
default: true
plugin:
kind: PrometheusDatasource
spec:
directUrl: http://localhost:9090
scrapeInterval: "15s"

0 comments on commit 40725ba

Please sign in to comment.