-
Notifications
You must be signed in to change notification settings - Fork 196
/
consts.go
33 lines (25 loc) · 1.15 KB
/
consts.go
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
package consts
type CollectorRole string
const (
CollectorsRoleClusterGateway CollectorRole = "CLUSTER_GATEWAY"
CollectorsRoleNodeCollector CollectorRole = "NODE_COLLECTOR"
)
// OdigosCollectorRoleLabel is the label used to identify the role of the Odigos collector.
const OdigosCollectorRoleLabel = "odigos.io/collector-role"
const (
OdigosDeploymentConfigMapName = "odigos-deployment"
)
const (
OdigosClusterCollectorDeploymentName = "odigos-gateway"
OdigosClusterCollectorConfigMapName = OdigosClusterCollectorDeploymentName
OdigosClusterCollectorServiceName = OdigosClusterCollectorDeploymentName
OdigosClusterCollectorCollectorGroupName = OdigosClusterCollectorDeploymentName
OdigosClusterCollectorConfigMapKey = "collector-conf"
)
const (
OdigosNodeCollectorDaemonSetName = "odigos-data-collection"
OdigosNodeCollectorConfigMapName = OdigosNodeCollectorDaemonSetName
OdigosNodeCollectorCollectorGroupName = OdigosNodeCollectorDaemonSetName
OdigosNodeCollectorOwnTelemetryPortDefault = int32(55682)
OdigosNodeCollectorConfigMapKey = "conf" // this key is different than the cluster collector value. not sure why
)