PrometheusExporter class

Inheritance

Constructors

PrometheusExporter({required String? address, required int port, required String path, required Future<List<SampleGroup>> onScrape()})

Properties

address String?
final
hashCode int
The hash code for this object.
no setterinherited
onScrape Future<List<SampleGroup>> Function()
finalinherited
path String
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createResponse(HttpRequest request, List<SampleGroup> sampleGroups) HttpResponse
formatTimestamp(DateTime timestamp) String
formatValue(num value) String
initialize() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited