Faberby FaberOps

Grafana Alerting Connector

Ingests Grafana Alerting contact point webhooks and reads alert rule state through the Grafana HTTP API.

Kind
Connector
Version
2.0.0
Tier
verified
Needs Faber
v2.0.0+
Digest prefix
sha256:1b2120bc

Contract facts

Type
grafana
Capabilities
read, trigger
no write by default
Priority
P0
Credentials
secretRef
never inline in the manifest

Install

Inspect the contract and RBAC delta

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

Render into your GitOps repository

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

Or apply straight to the cluster

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

Before you install

Create the credential Secret in the Faber namespace first. The Connector only references it by name and key.

$ kubectl -n faber create secret generic faber-grafana \ --from-literal=serviceAccountToken=REPLACE_ME

How it works

  • Connector type: grafana
  • Priority: P0
  • Capabilities: read, trigger
  • Namespace default: yes

Compatible backends

  • Grafana 10 and newer with unified alerting

Notes

Use a Grafana service account with the Viewer role. Faber never edits dashboards or alert rules. kubectl get fconn lists this endpoint as part of the complete Faber egress inventory.

Manifest, ready to apply

connector.yamlConnector15 lines
apiVersion: faberops.dev/v1beta1
kind: Connector
metadata:
  name: grafana
  namespace: faber
spec:
  type: grafana
  url: http://grafana.monitoring.svc.cluster.local
  default: true
  capabilities:
    - read
    - trigger
  secretRef:
    name: faber-grafana
    key: serviceAccountToken
pack.yamlcatalog metadata11 lines
# Catalog metadata for connectors/grafana. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: grafana
  category: connectors
  version: 2.0.0
spec:
  tier: verified
  minFaberVersion: v2.0.0
  digest: sha256:1b2120bcffc49317da8ec37252e1122847b5042dec60e1e1e7048e141233e74e

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