DefaultSettings

com.netflix.atlas.eval.graph.DefaultSettings
See theDefaultSettings companion object
case class DefaultSettings(root: Config, config: Config)

Default settings to use when rendering a graph image.

Value parameters

config

The specific config block for graph settings. This is typically under atlas.eval.graph.

root

The full config object for the app. Primarily used for constructing any custom vocabulary that is needed for the interpreter.

Attributes

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

Members list

Value members

Concrete methods

def offsetPalette(theme: String): String

Default palette name to use for lines with an offset.

Default palette name to use for lines with an offset.

Attributes

def primaryPalette(theme: String): String

Default palette name to use.

Default palette name to use.

Attributes

def resolveColor(theme: String, color: String): Color

Resolve color for a given theme.

Resolve color for a given theme.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val browserAgentPattern: Pattern

Pattern to use for detecting if a user-agent is a web-browser.

Pattern to use for detecting if a user-agent is a web-browser.

Attributes

val contentTypes: Map[String, ContentType]

Content types for the various rendering options.

Content types for the various rendering options.

Attributes

val endTime: String

Default end time for the chart. This value should typically be relative to now.

Default end time for the chart. This value should typically be relative to now.

Attributes

val engines: Map[String, GraphEngine]

Available engines for rendering a chart.

Available engines for rendering a chart.

Attributes

val graphVocabulary: Vocabulary

Vocabulary to use in the interpreter when evaluating a graph expression.

Vocabulary to use in the interpreter when evaluating a graph expression.

Attributes

val height: Int

Default height for the chart.

Default height for the chart.

Attributes

Host rewriter for restricting the expressions based on how the service was accessed.

Host rewriter for restricting the expressions based on how the service was accessed.

Attributes

val interpreter: Interpreter

Interpreter for the graph expressions.

Interpreter for the graph expressions.

Attributes

val maxDatapoints: Int

Maximum number of datapoints allowed for a line in a chart.

Maximum number of datapoints allowed for a line in a chart.

Attributes

val metadataEnabled: Boolean

Should the uri and other graph metadata be encoded as text fields in the image?

Should the uri and other graph metadata be encoded as text fields in the image?

Attributes

val simpleLegendsEnabled: Boolean

Should the system try to generate a simplified legend?

Should the system try to generate a simplified legend?

Attributes

val startTime: String

Default start time for the chart. This value should typically be relative to the end time.

Default start time for the chart. This value should typically be relative to the end time.

Attributes

val stepSize: Long

Default step size to use for the chart. This should typically match the primary step size of the underlying storage.

Default step size to use for the chart. This should typically match the primary step size of the underlying storage.

Attributes

val theme: String

Default theme to use for the chart.

Default theme to use for the chart.

Attributes

val timezone: String

Default time zone for the chart.

Default time zone for the chart.

Attributes

val width: Int

Default width for the chart.

Default width for the chart.

Attributes