graylog-plugin-metrics-reporter icon indicating copy to clipboard operation
graylog-plugin-metrics-reporter copied to clipboard

Provide unauthenticated endpoint for Prometheus

Open hectorhuertas opened this issue 6 years ago • 4 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

hectorhuertas avatar Jul 06 '18 12:07 hectorhuertas

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

runningman84 avatar Dec 07 '18 14:12 runningman84

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 avatar Dec 07 '18 14:12 george-angel

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

runningman84 avatar Dec 07 '18 15:12 runningman84

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

jalogisch avatar Dec 11 '18 14:12 jalogisch