PrometheusReporter

kamon.prometheus.PrometheusReporter
See thePrometheusReporter companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Factory extends ModuleFactory

Attributes

Supertypes
trait ModuleFactory
class Object
trait Matchable
class Any
case class Settings(startEmbeddedServer: Boolean, embeddedServerHostname: String, embeddedServerPort: Int, embeddedServerPath: String, embeddedServerImpl: String, generic: Generic)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Settings

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Settings.type

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.

Attributes

Concrete fields

final val DefaultConfigPath: "kamon.prometheus"