graylog-labs / graylog-plugin-metrics-reporter

Graylog Metrics Reporter Plugins
https://www.graylog.org/
GNU General Public License v3.0
80 stars 18 forks source link

Provide unauthenticated endpoint for Prometheus #29

Open hectorhuertas opened 6 years ago

hectorhuertas commented 6 years ago

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

runningman84 commented 5 years ago

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

george-angel commented 5 years ago

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
runningman84 commented 5 years ago

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

jalogisch commented 5 years ago

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