PrometheusReporter

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

class Factory extends ModuleFactory
case class Settings(startEmbeddedServer: Boolean, embeddedServerHostname: String, embeddedServerPort: Int, embeddedServerPath: String, embeddedServerImpl: String, generic: Generic)
Companion:
object
object Settings
Companion:
class

Value members

Concrete methods

def latestScrapeData(): Option[String]

Returns the latest Prometheus scrape data created by the latest PrometheusReporter instance created automatically by Kamon. If you are creating more than one PrometheusReporter instance you might prefer to keep references to those instances programmatically and calling .scrapeData() directly on them instead of using this function.

Returns the latest Prometheus scrape data created by the latest PrometheusReporter instance created automatically by Kamon. If you are creating more than one PrometheusReporter instance you might prefer to keep references to those instances programmatically and calling .scrapeData() directly on them instead of using this function.

Concrete fields

final val DefaultConfigPath: "kamon.prometheus"