Skip to content

Commit

Permalink
[Neutron] Remove dogstatsd plugin from uwsgi
Browse files Browse the repository at this point in the history
Starting with uwsgi version >=2.0.27, the dogstatsd plugin
(https://github.com/DataDog/uwsgi-dogstatsd)  breaks causing
Neutron Server pods to crashloop.  Also it was noticed
that this plugin was not maintained for the last 5 years.

With the plugin removal no uwsgi related metrics (like free/busy
workers, avg. response time, etc.) are available anymore.
In the near future the missing plugin will be replaced by another uwsgi
exporter.
  • Loading branch information
sven-rosenzweig committed Oct 9, 2024
1 parent bc2f0d7 commit 592dcee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions openstack/neutron/templates/etc/_uwsgi.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ uid = neutron
gid = neutron
http = :{{.Values.global.neutron_api_port_internal | default 9696}}
plugins-dir = /var/lib/openstack/lib
need-plugins = dogstatsd,shortmsecs
need-plugins = shortmsecs

# Connection tuning
vacuum = true
Expand All @@ -35,9 +35,6 @@ log-x-forwarded-for = true
log-date = %%Y-%%m-%%d %%H:%%M:%%S
log-format-strftime = true
log-format = %(ftime),%(shortmsecs) %(pid) INFO uWSGI [%(request_id) g%(global_request_id) %(user_id) %(project) %(domain) %(user_domain) %(project_domain)] %(addr) "%(method) %(uri) %(proto)" status: %(status) len: %(size) time: %(secs) agent: %(uagent)
plugin = dogstatsd
stats-push = dogstatsd:127.0.0.1:9125
dogstatsd-all-gauges = true
memory-report = true

# HTTP-Socket Timeout
Expand Down

0 comments on commit 592dcee

Please sign in to comment.