DataDog / uwsgi-dogstatsd

uwsgi dogstatsd plugin
http://www.datadog.com
Other
28 stars 29 forks source link

Permission denied on Kubernetes #19

Closed dmarkey closed 4 years ago

dmarkey commented 4 years ago

On EKS, I'm getting this error in the uwsgi logs.

Anyone seen it before and how to remedy?

dogstatsd_send_metric()/sendto(): Permission denied [/uwsgi-dogstatsd/plugin.c line 173]

Thanks!

David

dmarkey commented 4 years ago

Sorry this was PEBCAK. Was not configured correctly

AlecTroemel commented 4 years ago

I'm getting the same error in k8s, @dmarkey you mind sharing what your config error was (in case I've made the same mistake)?

dmarkey commented 4 years ago

As this project seems kind of abandoned we're switching to https://github.com/timonwong/uwsgi_exporter +

      annotations:
        ad.datadoghq.com/uwsgi-exporter.check_names: '["openmetrics"]'
        ad.datadoghq.com/uwsgi-exporter.init_configs: '[{}]'
        ad.datadoghq.com/uwsgi-exporter.instances: '[{"prometheus_url": "http://%%host%%:9117/metrics","namespace":
          "uwsgi_dd","metrics": ["*"]}]'