Documentation ¶
Overview ¶
Package acimosaicexporter sends metrics data to ACI Mosaic.
Index ¶
Constants ¶
View Source
const ( DefaultEndpoint = "mosaic-metrics-gateway-grpc-000.telemetry.g.apple.com:25189" DefaultWorkspace = "playground-gala" DefaultNamespace = "apple-ops-aa" DefaultCertificateFile = "~/.mosaic/client-cert.chain.pem" DefaultKeyFile = "~/.mosaic/client-key.pem" DefaultCAFile = "~/.mosaic/trusted-root.pem" )
Defaults for not specified configuration settings.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for Carbon exporter.
Types ¶
type Config ¶
type Config struct { // Endpoints specifies comma separated host and port to send metrics in the ACI Mosaic. // The default value is defined by the DefaultEndpoint constant. Endpoints string `mapstructure:"endpoints"` // Workspace is the organization in mosaic to separate it out from other unit's // metrics. // The default value is defined by the DefaultWorkspace constant, this is shared workspace // to play around via different teams. Workspace string `mapstructure:"workspace"` // Namespace is the group of related metrics. // The default value is defined by the DefaultNamespace constant, which is created to test // the functionality. Namespace string `mapstructure:"namespace"` CertificateFile string `mapstructure:"cert_file"` KeyFile string `mapstructure:"key_file"` CAFile string `mapstructure:"ca_file"` // ResourceToTelemetrySettings is the option for converting resource attributes to telemetry attributes. // "Enabled" - A boolean field to enable/disable this option. Default is `false`. // If enabled, all the resource attributes will be converted to metric labels by default. ResourceToTelemetrySettings resourcetotelemetry.Settings `mapstructure:"resource_to_telemetry_conversion"` }
Config defines configuration for Carbon exporter.
Click to show internal directories.
Click to hide internal directories.