Skip to content

2025.8.0: worker metrics returns empty response #16292

@lotheac

Description

@lotheac

Describe the bug

worker does not seem to return the proper metrics response, as indicated by the release notes; instead I get the following:

❯ curl -v localhost:9300/metrics
* Host localhost:9300 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:9300...
* Connected to localhost (::1) port 9300
* using HTTP/1.x
> GET /metrics HTTP/1.1
> Host: localhost:9300
> User-Agent: curl/8.15.0
> Accept: */*
>
* Request completely sent off
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: BaseHTTP/0.6 Python/3.13.6
< Date: Thu, 21 Aug 2025 06:57:14 GMT
< Content-Type: text/plain; version=0.0.4; charset=utf-8
<
* shutting down connection #0

To Reproduce

Steps to reproduce the behavior:

  1. podman pod create -p 9300:9300 foo
  2. podman run --pod foo --rm -e POSTGRES_HOST_AUTH_METHOD=trust -e POSTGRES_USER=authentik -e POSTGRES_DB=authentik docker.io/postgres
  3. podman run --rm --pod foo docker.io/redis
  4. podman run --pod foo --rm -e AUTHENTIK_SECRET_KEY=asdf -e AUTHENTIK_LISTEN__HTTP=0.0.0.0:9000 -e AUTHENTIK_LISTEN__METRICS=0.0.0.0:9300 ghcr.io/goauthentik/server:2025.8.0 worker
  5. curl -v localhost:9300/metrics

Expected behavior

Expected the worker metrics to be present in the response.

Logs

Omitting logs, since you can get them from the repro above.

Version and Deployment (please complete the following information):

  • authentik version: 2025.8.0
  • Deployment: local podman (but also observed the same in kubernetes)

Additional context
none

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug/confirmedConfirmed bugs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions