image:
  repository: tccr.io/truecharts/promcord
  tag: latest@sha256:ba9bee8d89b3ce86ca55d1bd29e13deb31f73a004991b17d8d80c73f2cc1c03c
  pullPolicy: IfNotPresent

service:
  main:
    ports:
      main:
        enabled: false
      metrics:
        enabled: true
        port: 10101
        targetPort: 8080

# env:
#   DISCORD_TOKEN:

metrics:
  # -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
  # @default -- See values.yaml
  enabled: false
  serviceMonitor:
    interval: 1m
    scrapeTimeout: 30s
    labels: {}
  # -- Enable and configure Prometheus Rules for the chart under this key.
  # @default -- See values.yaml
  prometheusRule:
    enabled: false
    labels: {}
    # -- Configure additionial rules for the chart under this key.
    # @default -- See prometheusrules.yaml
    rules: []
      # - alert: PromcordAbsent
      #   annotations:
      #     description: Promcord has disappeared from Prometheus service discovery.
      #     summary: Promcord is disabled.
      #   expr: |
      #     absent(up{job=~".promcord.*"} == 1)
      #   for: 15m
      #   labels:
      #     severity: critical
