-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathotlp.go
More file actions
42 lines (32 loc) · 1.86 KB
/
Copy pathotlp.go
File metadata and controls
42 lines (32 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2021-present Datadog, Inc.
package setup
// OTLP configuration paths.
const (
OTLPSection = "otlp_config"
OTLPTracePort = OTLPSection + ".traces.internal_port"
OTLPTracesEnabled = OTLPSection + ".traces.enabled"
OTLPTracesInfraAttrEnabled = OTLPSection + ".traces.infra_attributes.enabled"
OTLPTracesInfraAttrContainerTagPromotion = OTLPSection + ".traces.infra_attributes.container_tag_promotion"
OTLPLogs = OTLPSection + ".logs"
OTLPLogsEnabled = OTLPLogs + ".enabled"
OTLPLogsInfraAttrTagsAsDDTags = OTLPLogs + ".infra_attributes.tags_as_ddtags"
OTLPReceiverSubSectionKey = "receiver"
OTLPReceiverSection = OTLPSection + "." + OTLPReceiverSubSectionKey
OTLPMetrics = OTLPSection + ".metrics"
OTLPMetricsEnabled = OTLPMetrics + ".enabled"
OTLPMetricsBatch = OTLPMetrics + ".batch"
OTLPMetricsInfraAttrAsTags = OTLPMetrics + ".infra_attributes.as_tags"
OTLPDebug = OTLPSection + "." + "debug"
DataPlaneSection = "data_plane"
DataPlaneEnabled = DataPlaneSection + ".enabled"
DataPlaneOTLPSection = DataPlaneSection + ".otlp"
DataPlaneOTLPEnabled = DataPlaneOTLPSection + ".enabled"
DataPlanePreflightMode = DataPlaneSection + ".preflight_mode"
DataPlaneOTLPProxySection = DataPlaneOTLPSection + ".proxy"
DataPlaneOTLPProxyEnabled = DataPlaneOTLPProxySection + ".enabled"
DataPlaneOTLPProxyReceiverSection = DataPlaneOTLPProxySection + ".receiver"
DataPlaneOTLPProxyReceiverProtocolsGRPCEndpoint = DataPlaneOTLPProxyReceiverSection + ".protocols.grpc.endpoint"
)