graylog-labs / graylog-plugin-metrics-reporter

Graylog Metrics Reporter Plugins

Home Page:https://www.graylog.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide unauthenticated endpoint for Prometheus

hectorhuertas opened this issue · comments

Hi,

Would it be possible to provide an unauthenticated endpoint for the Prometheus exporter?

We are running graylog inside kubernetes, where the authentication doesn't play nice with Prometheus' kubernetes service discovery and would like to avoid having a custom configuration just for graylog.

Thanks

@jalogisch is there any chance to get this feature with 3.x?

We found an acceptable workaround by running a side-car pushgateway container in the same pod (we run Graylog on kubernetes)

      - name: pushgateway
        image: prom/pushgateway:v0.5.2
        livenessProbe:
          httpGet:
            path: /#/status
            port: 9091
        readinessProbe:
          httpGet:
            path: /#/status
            port: 9091
        resources:
          requests:
            memory: 10Mi
          limits:
            memory: 100Mi
        ports:
          - name: metrics
            containerPort: 9091

@george-angel thanks for the hint, btw. this is our current graylog helm chart:
https://github.com/arvatoaws/graylog-helm-chart

@runningman84 I do not think that this happens - but you never know what someone else contributes.