Skip to content

Add Django exporter (#1088) - #1143

Merged
csmarchbanks merged 1 commit into
prometheus:masterfrom
Chadys:django-support
Jan 5, 2026
Merged

Add Django exporter (#1088)#1143
csmarchbanks merged 1 commit into
prometheus:masterfrom
Chadys:django-support

Conversation

@Chadys

@ChadysChadys commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Fixes#1088

Finally got the time to propose what I had in mind :)

I added a utility view for easy inclusion of a metrics endpoint inside a Django project.

I also added some explanation about django-prometheus and the difference between what it provides and the new view.
I hope the difference is clear that way.

@Chadys

Copy link
Copy Markdown
ContributorAuthor

I can't seem to satisfy both isort and flake8_import_order, hence the CI error

@csmarchbankscsmarchbanks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, but generally looks reasonable to me, thanks and apologies for the slow review!

Comment threadprometheus_client/django/exposition.py Outdated
Signed-off-by: Julie Rymer <rymerjulie.pro@gmail.com>
@Chadys

Chadys commented Dec 21, 2025

Copy link
Copy Markdown
ContributorAuthor

No worries, volunteer's work knows no clock ;)
Thanks for the review, should be good now

@csmarchbankscsmarchbanks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@csmarchbanks
csmarchbanks merged commit e1cdc20 into prometheus:masterJan 5, 2026
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Django explicit support

2 participants

@Chadys@csmarchbanks