<s> from . import core <EOL> from . import exposition <EOL> from . import process_collector <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> __all__ = [ n . encode ( '<STR_LIT:ascii>' ) for n in __all__ ] <EOL> CollectorRegistry = core . CollectorRegistry <EOL> REGISTRY = core . REGISTRY <EOL> Metric = core . Metric <EOL> Counter = core . Counter <EOL> Gauge = core . Gauge <EOL> Summary = core . Summary <EOL> Histogram = core . Histogram <EOL> CONTENT_TYPE_LATEST = exposition . CONTENT_TYPE_LATEST <EOL> generate_latest = exposition . generate_latest <EOL> MetricsHandler = exposition . MetricsHandler <EOL> make_wsgi_app = exposition . make_wsgi_app <EOL> start_http_server = exposition . start_http_server <EOL> start_wsgi_server = exposition . start_wsgi_server <EOL> write_to_textfile = exposition . write_to_textfile <EOL> push_to_gateway = exposition . push_to_gateway <EOL> pushadd_to_gateway = exposition . pushadd_to_gateway <EOL> delete_from_gateway = exposition . delete_from_gateway <EOL> instance_ip_grouping_key = exposition . instance_ip_grouping_key <EOL> ProcessCollector = process_collector . ProcessCollector <EOL> PROCESS_COLLECTOR = process_collector . PROCESS_COLLECTOR <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> c = Counter ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> c . inc ( ) <EOL> g = Gauge ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> g . set ( <NUM_LIT> ) <EOL> s = Summary ( '<STR_LIT>' , '<STR_LIT>' , [ '<STR_LIT:a>' , '<STR_LIT:b>' ] ) <EOL> s . labels ( '<STR_LIT:c>' , '<STR_LIT:d>' ) . observe ( <NUM_LIT> ) <EOL> h = Histogram ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> h . observe ( <NUM_LIT> ) <EOL> start_http_server ( <NUM_LIT> ) <EOL> import time <EOL> while True : <EOL> time . sleep ( <NUM_LIT:1> ) </s>
