-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework MetricConfig, make labels an attribute (#7)
- Loading branch information
1 parent
dc6fe22
commit 73ef805
Showing
10 changed files
with
123 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
"""Asyncio library for creating Prometheus exporters.""" | ||
|
||
from .metric import ( | ||
from ._metric import ( | ||
InvalidMetricType, | ||
MetricConfig, | ||
MetricsRegistry, | ||
) | ||
from .script import PrometheusExporterScript | ||
from ._script import PrometheusExporterScript | ||
|
||
__all__ = [ | ||
"__version__", | ||
"InvalidMetricType", | ||
"MetricConfig", | ||
"MetricsRegistry", | ||
"PrometheusExporterScript", | ||
"__version__", | ||
] | ||
|
||
__version__ = "1.7.0" | ||
__version__ = "2.0.dev1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.