Skip to content

pulsar-proxy with authentication and proxy-metrics for prometheus #597

@cccdemon

Description

@cccdemon

Is your feature request related to a problem? Please describe.
when Authentication is enabled you cant get prometheus metrics from proxy, because he needs authentication.
the pod-monitor hasn`t an option to add this.

Describe the solution you'd like
Adding an option to values.yaml - in this case with jwt
like:

...
  authorization:
      key: TOKEN
      name: token-name
...

Adding this to pulsar/templates/proxy-podmonitor.yaml

...
    - authorization: 
        credentials: 
          key: {{ $.Values.proxy.podMonitor.authorization.key }} 
          name: {{ $.Values.proxy.podMonitor.authorization.name }} 
      type: Bearer 
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions