Peep.Options (peep v4.2.0)
View SourceOptions for a Peep reporter. Validated with NimbleOptions.
:name(atom/0) - Required. A name for the Peep worker process:metrics(list ofterm/0) - Required. A list ofTelemetry.Metricsmetric definitions to be collected and exposed.:statsd- An optional keyword list of statsd configuration.:flush_interval_ms(non_neg_integer/0) - Time interval between StatsD metric emissions. The default value is5000.:host- Hostname or IP address of the StatsD server. The default value is{127, 0, 0, 1}.:port(non_neg_integer/0) - Port of the StatsD server. The default value is8125.:socket_path- Path to the Unix Domain Socket used for publishing instead of the hostname and port. Overrides:hostand:portconfiguration if present:formatter- Determines the format of the published metrics. Can be either:standardor:datadog. The default value is:standard.:mtu(non_neg_integer/0) - Determine max size of statsd packets. For UDP, 1472 is a good choice. For UDS, 8192 is probably better. The rationale for these recommendations comes from this guide. The default value is1472.
:global_tags(map/0) - Additional tags published with every metric. Global tags are overridden by the tags specified in the metric definition. The default value is%{}.:storage- Which storage implementation to use.:defaultuses a single ETS table, with some optimizations for concurrent writing.:stripeduses one ETS table per scheduler thread, which trades memory for less lock contention for concurrent writes. The default value is:default.