class GraphiteStore extends Store[Repr]
A value store that uses Graphite
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GraphiteStore
- Store
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
GraphiteStore(host: String, port: Int, webHost: String, checkInterval: Duration, group: Option[String] = None, sloGroup: Option[String] = None, serverTimeZone: ZoneId = ZoneId.systemDefault(), requestTimeout: FiniteDuration = CDuration.create(60, SECONDS), maxConnections: Int = 128)(implicit ec: ExecutionContext)
- host
The host of the writing endpoint
- port
The port of the writing endpoint
- webHost
The URL of the Web host for reading
- checkInterval
Check interval in Duration
- group
The group name of Graphite metrics
- sloGroup
The group name of Graphite metrics where SLO will be stored
- serverTimeZone
The timezone of the server
- requestTimeout
Request timeout
- maxConnections
Max connections of the Http client
- ec
The execution context
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fetch[T](id: String, context: Context)(implicit codec: Codec[T, Repr]): Future[Option[T]]
- Definition Classes
- GraphiteStore → Store
-
def
fetchHistory[T](id: String, from: Instant, until: Instant)(implicit codec: Codec[T, Repr]): Future[Seq[(Long, T)]]
- Definition Classes
- GraphiteStore → Store
-
def
fetchSloHistory(id: String, from: Instant, until: Instant)(implicit codec: Codec[Slo, Repr]): Future[Seq[(Long, Slo)]]
- Definition Classes
- GraphiteStore → Store
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
upload[T](id: String, context: Context, v: T)(implicit codec: Codec[T, Repr]): Future[Unit]
- Definition Classes
- GraphiteStore → Store
-
def
uploadSlo(id: String, context: Context, slo: Slo)(implicit codec: Codec[Slo, Repr]): Future[Unit]
- Definition Classes
- GraphiteStore → Store
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )