Skip to content

feat(chart): add observability support (metrics, ServiceMonitor) #8

Description

@birdmanmandbir

Summary

Add observability features to the Helm chart for production monitoring.

Tasks

  • Metrics Service - Expose operator metrics for Prometheus scraping

    • Create templates/metrics-service.yaml
    • Expose port 8443 (HTTPS metrics endpoint)
  • ServiceMonitor - Prometheus Operator integration

    • Create templates/servicemonitor.yaml
    • Add metrics.serviceMonitor.enabled value (default: false)
    • Configure TLS and bearer token auth
  • Grafana Dashboard - Optional dashboard for operator metrics

    • Create templates/grafana-dashboard.yaml (ConfigMap)
    • Add metrics.dashboard.enabled value

Values Structure

metrics:
  enabled: true
  service:
    port: 8443
  serviceMonitor:
    enabled: false
    interval: 30s
    scrapeTimeout: 10s
  dashboard:
    enabled: false

Reference

The operator exposes metrics at :8443/metrics with HTTPS and bearer token auth (from ServiceAccount).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestobservabilityMetrics, monitoring, and observability features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions