aioprometheus.formats.base module¶ class aioprometheus.formats.base.IFormatter¶ Bases: abc.ABC Metrics formatter interface abstract get_headers()¶ Returns a dict of HTTP headers for this response format abstract marshall(registry) → bytes¶ Marshalls a registry (containing many collectors) into a specific format. Returns bytes