Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create prometheus-values.yaml file for Prometheus Adapter configuring the proper endpoint, authentication and custom metric rules :-

Code Block
metricsRelistInterval: 5m

prometheus:
  # Replace with your endpoint for Kloudfuse
  url: <<https://your.hostname.kloudfuse>>
  port: 443
  path: ""
  
# Rules to generate `some_custom_metric` as an external metric
rules:
  default: false
  external:
  - seriesQuery: '{__name__=~"some_metric"}'
    resources:
      template: <<.Resource>>
    name:
      as: "some_custom_metric"
    metricsQuery: avg (some_metric)
    
# Base64 Encoded Auth string in the format <<username:password>>
extraArguments:
  - --prometheus-header=Authorization=Basic YWRtaW46cGFzc3dvcmQ=

...