prometheus / prometheus/client_python

start_http_server from prometheus_client doesn't work on IPv6

Open
#965 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
876
Avg merge
8d 4h
Merged PRs (30d)
1

Description

How can I run the http server using the prometheus_client on IPv6?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the start_http_server entry point in the prometheus_client package and reproduce the reported behavior with an IPv6 address. Check how the server address is selected and compare the result with the existing HTTP-server behavior. Done means a documented or tested way to run the server successfully on IPv6.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus, python
Domain
backend, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.