Faberby FaberOps

Grafana Dashboards Datasource Connector

Read-only Grafana.com dashboard revision datasource with conditional ETag caching for tracking pinned GrafanaDashboard JSON updates.

Kind
Connector
Version
2.2.0
Tier
verified
Needs Faber
v2.2.0+
Digest prefix
sha256:5a0e2353

Contract facts

Type
datasource
Capabilities
read
no write by default
Priority
P1
Credentials
secretRef
never inline in the manifest

Install

Inspect the contract and RBAC delta

$ faberctl catalog inspect connectors/datasource-grafana-dashboards \ --source oci://ghcr.io/faberops/catalog:v2

Render into your GitOps repository

$ faberctl catalog install connectors/datasource-grafana-dashboards \ --source oci://ghcr.io/faberops/catalog:v2 \ --out-dir ./kubernetes/apps/faber/config

Or apply straight to the cluster

$ faberctl catalog install connectors/datasource-grafana-dashboards \ --source oci://ghcr.io/faberops/catalog:v2 \ --apply

How it works

  • Connector type: datasource
  • Datasource driver: grafana-dashboards
  • Priority: P1
  • Capabilities: read
  • Namespace default: no

Notes

Faber queries https://grafana.com/api/dashboards/<id>/revisions read-only with conditional ETag caching to discover newer integer revisions for manifests extracted by the grafana-dashboard manager.

No credentials are required for public Grafana.com dashboards. kubectl get fconn lists this endpoint in the cluster egress inventory.

Manifest, ready to apply

connector.yamlConnector12 lines
apiVersion: faberops.dev/v1beta1
kind: Connector
metadata:
  name: datasource-grafana-dashboards
  namespace: faber
spec:
  type: datasource
  url: https://grafana.com
  capabilities:
    - read
  config:
    kind: grafana-dashboards
pack.yamlcatalog metadata11 lines
# Catalog metadata for connectors/datasource-grafana-dashboards. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: datasource-grafana-dashboards
  category: connectors
  version: 2.2.0
spec:
  tier: verified
  minFaberVersion: v2.2.0
  digest: sha256:5a0e235384c38d9523302282ca7daed987562fb48324aedc9a782aa368066a2d

Copy it into kubectl apply -f -, or let faberctl catalog install render it with provenance annotations into your GitOps path.