lint
Signed-off-by: Owen Williams <owen.williams@grafana.com>
This commit is contained in:
parent
bff2a7415c
commit
989a351700
|
@ -1534,12 +1534,12 @@ func getGoGC() int {
|
||||||
|
|
||||||
// OTLPConfig is the configuration for writing to the OTLP endpoint.
|
// OTLPConfig is the configuration for writing to the OTLP endpoint.
|
||||||
type OTLPConfig struct {
|
type OTLPConfig struct {
|
||||||
PromoteAllResourceAttributes bool `yaml:"promote_all_resource_attributes,omitempty"`
|
PromoteAllResourceAttributes bool `yaml:"promote_all_resource_attributes,omitempty"`
|
||||||
PromoteResourceAttributes []string `yaml:"promote_resource_attributes,omitempty"`
|
PromoteResourceAttributes []string `yaml:"promote_resource_attributes,omitempty"`
|
||||||
IgnoreResourceAttributes []string `yaml:"ignore_resource_attributes,omitempty"`
|
IgnoreResourceAttributes []string `yaml:"ignore_resource_attributes,omitempty"`
|
||||||
TranslationStrategy otlptranslator.TranslationStrategyOption `yaml:"translation_strategy,omitempty"`
|
TranslationStrategy otlptranslator.TranslationStrategyOption `yaml:"translation_strategy,omitempty"`
|
||||||
KeepIdentifyingResourceAttributes bool `yaml:"keep_identifying_resource_attributes,omitempty"`
|
KeepIdentifyingResourceAttributes bool `yaml:"keep_identifying_resource_attributes,omitempty"`
|
||||||
ConvertHistogramsToNHCB bool `yaml:"convert_histograms_to_nhcb,omitempty"`
|
ConvertHistogramsToNHCB bool `yaml:"convert_histograms_to_nhcb,omitempty"`
|
||||||
// PromoteScopeMetadata controls whether to promote OTel scope metadata (i.e. name, version, schema URL, and attributes) to metric labels.
|
// PromoteScopeMetadata controls whether to promote OTel scope metadata (i.e. name, version, schema URL, and attributes) to metric labels.
|
||||||
// As per OTel spec, the aforementioned scope metadata should be identifying, i.e. made into metric labels.
|
// As per OTel spec, the aforementioned scope metadata should be identifying, i.e. made into metric labels.
|
||||||
PromoteScopeMetadata bool `yaml:"promote_scope_metadata,omitempty"`
|
PromoteScopeMetadata bool `yaml:"promote_scope_metadata,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue