Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
master
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 19, 2017
check Python version with sys.version_info (#227)
Show description for d3562a1
minrk
authored and
brian-brazil
committed
d3562a1
View commit details
Copy full SHA for d3562a1
View code at this point
Browse repository at this point
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.