Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pythonAI
client_python
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
client_python
prometheus_client
exposition.py
on
v0.1.0
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 13, 2017
Fix: #222. Support custom registry for MetricsHandler. (#223)
Show description for 24d4d95
ioggstream
authored and
brian-brazil
committed
24d4d95
View commit details
Copy full SHA for 24d4d95
View code at this point
Browse repository at this point
Commits on Oct 31, 2017
Fix issue #208: parse the correct scheme of URL in Python26 (#209)
caosiyang
authored and
brian-brazil
committed
d4a2ecf
View commit details
Copy full SHA for d4a2ecf
View code at this point
Browse repository at this point
Commits on Oct 6, 2017
Make WSGI metrics server not log requests (#203)
Show description for 6abff16
bz2
authored and
brian-brazil
committed
6abff16
View commit details
Copy full SHA for 6abff16
View code at this point
Browse repository at this point
Commits on Oct 2, 2017
Remove unused time import (#200)
yuvipanda
authored and
brian-brazil
committed
d301e2f
View commit details
Copy full SHA for d301e2f
View code at this point
Browse repository at this point
Commits on Feb 14, 2017
Changes to allow each HTTP request to be a seperate thread (#139)
Show description for ce5542b
jamessewell
authored and
brian-brazil
committed
ce5542b
View commit details
Copy full SHA for ce5542b
View code at this point
Browse repository at this point
Commits on Jan 31, 2017
Improve style of handler code (#134)
brian-brazil
authored
c07b63e
View commit details
Copy full SHA for c07b63e
View code at this point
Browse repository at this point
Commits on Jan 29, 2017
Resort to determining python version to work around base64 byte encoding issue.
rossigee
committed
444a748
View commit details
Copy full SHA for 444a748
View code at this point
Browse repository at this point
Fix for 'TypeError: string argument without an encoding' (regressing in python3).
rossigee
committed
8f7511a
View commit details
Copy full SHA for 8f7511a
View code at this point
Browse repository at this point
Fix for 'TypeError: string argument without an encoding' (regressing in python3).
rossigee
committed
1ba7c2e
View commit details
Copy full SHA for 1ba7c2e
View code at this point
Browse repository at this point
Fix for 'TypeError: string argument without an encoding' (regressing in python3).
rossigee
committed
daa40fd
View commit details
Copy full SHA for daa40fd
View code at this point
Browse repository at this point
Commits on Jan 26, 2017
Move basic auth handler into exposition. Update docstring.
rossigee
committed
7e45925
View commit details
Copy full SHA for 7e45925
View code at this point
Browse repository at this point
Commits on Jan 25, 2017
Move base handler back into exposition.
rossigee
committed
0bebb0a
View commit details
Copy full SHA for 0bebb0a
View code at this point
Browse repository at this point
Use closure to pass args to handlers (refs #60).
rossigee
committed
44df258
View commit details
Copy full SHA for 44df258
View code at this point
Browse repository at this point
Remove unnecessary imports.
rossigee
committed
d3f5a58
View commit details
Copy full SHA for d3f5a58
View code at this point
Browse repository at this point
Add 'handler_args' to pass extra informatoin to handler.
rossigee
committed
0ac7442
View commit details
Copy full SHA for 0ac7442
View code at this point
Browse repository at this point
Fix relative import error.
rossigee
committed
9139e82
View commit details
Copy full SHA for 9139e82
View code at this point
Browse repository at this point
Separate default handler code for re-use and add test case for custom handler (refs #120)
rossigee
committed
814e24d
View commit details
Copy full SHA for 814e24d
View code at this point
Browse repository at this point
Document new handler parameter to pushgateway function
Show description for 568f6ca
tim-seoss
authored and
rossigee
committed
568f6ca
View commit details
Copy full SHA for 568f6ca
View code at this point
Browse repository at this point
Allow a handler to be passed in to carry out a custom request.
Show description for c3de82b
tim-seoss
authored and
rossigee
committed
c3de82b
View commit details
Copy full SHA for c3de82b
View code at this point
Browse repository at this point
Just check for a url scheme to allow users to provide a handler.
tim-seoss
authored and
rossigee
committed
e3071c4
View commit details
Copy full SHA for e3071c4
View code at this point
Browse repository at this point
Commits on Nov 24, 2016
Ensure we return a 500 on collection error.
brian-brazil
committed
d2b3aa3
View commit details
Copy full SHA for d2b3aa3
View code at this point
Browse repository at this point
Commits on Nov 3, 2016
Add ability to limit what HTTP exposition returns.
Show description for 29e83ad
brian-brazil
committed
29e83ad
View commit details
Copy full SHA for 29e83ad
View code at this point
Browse repository at this point
Commits on Oct 1, 2016
Add optional scheme support for push gateway urls (#103)
Show description for 4197142
thekuffs
authored and
brian-brazil
committed
4197142
View commit details
Copy full SHA for 4197142
View code at this point
Browse repository at this point
Commits on Jun 10, 2016
Adds support for the WSGI server to read from a different registry
Thomas Desrosiers
committed
5c5d997
View commit details
Copy full SHA for 5c5d997
View code at this point
Browse repository at this point
Commits on Apr 26, 2016
Add WSGI helper methods
Show description for 54260fa
rmohr
committed
54260fa
View commit details
Copy full SHA for 54260fa
View code at this point
Browse repository at this point
Commits on Oct 9, 2015
Fix path of pushgateway
brian-brazil
committed
5b1519c
View commit details
Copy full SHA for 5b1519c
View code at this point
Browse repository at this point
Merge pull request #54 from prometheus/parser
Show description for ac1c45f
brian-brazil
committed
ac1c45f
View commit details
Copy full SHA for ac1c45f
View code at this point
Browse repository at this point
Commits on Oct 8, 2015
Make metric fields public.
brian-brazil
committed
854b401
View commit details
Copy full SHA for 854b401
View code at this point
Browse repository at this point
Commits on Oct 3, 2015
Closing open socket in instance_ip_grouping_key()
Show description for 6269b8f
Vikas Kumar
committed
6269b8f
View commit details
Copy full SHA for 6269b8f
View code at this point
Browse repository at this point
Commits on Oct 2, 2015
Fix tests on Python 3.4 and Windows
Show description for 7cf945c
andersschuller
committed
7cf945c
View commit details
Copy full SHA for 7cf945c
View code at this point
Browse repository at this point
Commits on Sep 5, 2015
Removes registry default value
Show description for 0b27ded
Mark Railton
committed
0b27ded
View commit details
Copy full SHA for 0b27ded
View code at this point
Browse repository at this point
Commits on Jul 15, 2015
Add function to provide IP as grouping key
brian-brazil
committed
3632050
View commit details
Copy full SHA for 3632050
View code at this point
Browse repository at this point
Commits on Jul 13, 2015
Rework push gateway code.
brian-brazil
committed
6b312cd
View commit details
Copy full SHA for 6b312cd
View code at this point
Browse repository at this point
Commits on Jun 21, 2015
Split __init__.py into separate files.
brian-brazil
committed
2af5282
View commit details
Copy full SHA for 2af5282
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.