|
| 1 | +--- |
| 2 | +title: "v0.43.1" |
| 3 | +linkTitle: "v0.43.1" |
| 4 | +weight: 20 |
| 5 | +aliases: |
| 6 | + /docs/reference/packagespec/adot/v0.43.1/ |
| 7 | +description: > |
| 8 | +--- |
| 9 | + |
| 10 | +{{% pageinfo %}} |
| 11 | +The logging exporter is now [deprecated](https://github.com/open-telemetry/opentelemetry-collector/pull/11037) , users should update the config to the debug exporter instead |
| 12 | + |
| 13 | +{{% /pageinfo %}} |
| 14 | + |
| 15 | +### Configuring ADOT in EKS Anywhere package spec |
| 16 | + |
| 17 | +#### Example |
| 18 | + |
| 19 | +We included a sample configuration below for reference. For in-depth examples and use cases, please refer to [ADOT with AMP and AMG.]({{< relref "adot_amp_amg.md" >}}) |
| 20 | + |
| 21 | +``` |
| 22 | +apiVersion: packages.eks.amazonaws.com/v1alpha1 |
| 23 | +kind: Package |
| 24 | +metadata: |
| 25 | + name: my-adot |
| 26 | + namespace: eksa-packages-<cluster-name> |
| 27 | +spec: |
| 28 | + packageName: adot |
| 29 | + targetNamespace: observability |
| 30 | + config: | |
| 31 | + mode: daemonset |
| 32 | +``` |
| 33 | + |
| 34 | +#### Configurable parameters and default values under `spec.config` |
| 35 | + |
| 36 | +| Parameter | Description | Default | |
| 37 | +|-----|---------|-------------| |
| 38 | +|**General**| |
| 39 | +| hostNetwork | Indicates if the pod should run in the host networking namespace. | `false` | |
| 40 | +| image.pullPolicy | Specifies image pull policy: `IfNotPresent`, `Always`, `Never`. | `"IfNotPresent"` | |
| 41 | +| mode | Specifies Collector deployment options: `daemonset`, `deployment`, or `statefulset`. | `"daemonset"` | |
| 42 | +| ports.[\*].containerPort | Specifies containerPort used. | See footnote [^1] | |
| 43 | +| ports.[\*].enabled | Indicates if a port is enabled. | See footnote [^1] | |
| 44 | +| ports.[\*].hostPort | Specifies hostPort used. | See footnote [^1] | |
| 45 | +| ports.[\*].protocol | Specifies protocol used. | See footnote [^1] | |
| 46 | +| ports.[\*].servicePort | Specifies servicePort used. | See footnote [^1] | |
| 47 | +| resources.limits.cpu | Specifies CPU resource limits for containers. | `1` | |
| 48 | +| resources.limits.memory | Specifies memory resource limits for containers. | `"2Gi"` | |
| 49 | +|**Config**| |
| 50 | +| config.config | Specifies Collector receiver, processor, exporter, and extensions configurations. Refer to [aws-otel-collector](https://github.com/aws-observability/aws-otel-collector) for full details. **Note EKS Anywhere ADOT package version matches the exact aws-otel-collector version.** | See footnote [^2] | |
| 51 | +| config.config.receiver | Specifies how data gets in the Collector. Receivers can be either push or pull based, and support one or more data source. | See footnote [^2] | |
| 52 | +| config.config.processor | Specifies how processors are run on data between the stage of being received and being exported. Processors are optional though some are [recommended.](https://github.com/open-telemetry/opentelemetry-collector/tree/main/processor#recommended-processors) | See footnote [^2] | |
| 53 | +| config.config.exporters | Specifies how data gets sent to backends/destinations. Exporters can be either push or pull based, and support one or more data source. | See footnote [^2] | |
| 54 | +| config.config.extensions | Specifies tasks that do not involve processing telemetry data. Examples of extensions include health monitoring, service discovery, and data forwarding. Extensions are optional. | See footnote [^2] | |
| 55 | +| config.config.service | Specifies what components are enabled in the Collector based on the configuration found in the receivers, processors, exporters, and extensions sections. **If a component is configured, but not defined within the service section, then it is not enabled.** | See footnote [^2] | |
| 56 | +|**Deployment mode only**| |
| 57 | +| replicaCount | Specifies replicaCount for pods. | `1` | |
| 58 | +| service.type | Specifies service types: `ClusterIP`, `NodePort`, `LoadBalancer`, `ExternalName`. |`"ClusterIP"` | |
| 59 | + |
| 60 | +[^1]: |
| 61 | + The default `ports` enables `otlp` and `otlp-http`. See below specification for details. |
| 62 | + ```yaml |
| 63 | + apiVersion: packages.eks.amazonaws.com/v1alpha1 |
| 64 | + kind: Package |
| 65 | + ... |
| 66 | + spec: |
| 67 | + config: | |
| 68 | + ports: |
| 69 | + otlp: |
| 70 | + enabled: true |
| 71 | + containerPort: 4317 |
| 72 | + servicePort: 4317 |
| 73 | + hostPort: 4317 |
| 74 | + protocol: TCP |
| 75 | + otlp-http: |
| 76 | + enabled: true |
| 77 | + containerPort: 4318 |
| 78 | + servicePort: 4318 |
| 79 | + hostPort: 4318 |
| 80 | + protocol: TCP |
| 81 | + ``` |
| 82 | +
|
| 83 | +[^2]: |
| 84 | + The default `config.config` deploys an ADOT Collector with the metrics pipeline, which includes otlp and prometheus receiver, and logging exporter. See below specification for details. |
| 85 | + ```yaml |
| 86 | + apiVersion: packages.eks.amazonaws.com/v1alpha1 |
| 87 | + kind: Package |
| 88 | + ... |
| 89 | + spec: |
| 90 | + config: | |
| 91 | + config: |
| 92 | + receivers: |
| 93 | + otlp: |
| 94 | + protocols: |
| 95 | + grpc: |
| 96 | + endpoint: 0.0.0.0:4317 |
| 97 | + http: |
| 98 | + endpoint: 0.0.0.0:4318 |
| 99 | + prometheus: |
| 100 | + config: |
| 101 | + scrape_configs: |
| 102 | + - job_name: opentelemetry-collector |
| 103 | + scrape_interval: 10s |
| 104 | + static_configs: |
| 105 | + - targets: |
| 106 | + - ${MY_POD_IP}:8888 |
| 107 | + processors: |
| 108 | + batch: {} |
| 109 | + memory_limiter: null |
| 110 | + exporters: |
| 111 | + logging: |
| 112 | + loglevel: info |
| 113 | + extensions: |
| 114 | + health_check: {} |
| 115 | + memory_ballast: {} |
| 116 | + service: |
| 117 | + telemetry: |
| 118 | + metrics: |
| 119 | + address: 0.0.0.0:8888 |
| 120 | + extensions: |
| 121 | + - health_check |
| 122 | + - memory_ballast |
| 123 | + pipelines: |
| 124 | + metrics: |
| 125 | + exporters: |
| 126 | + - logging |
| 127 | + processors: |
| 128 | + - memory_limiter |
| 129 | + - batch |
| 130 | + receivers: |
| 131 | + - otlp |
| 132 | + - prometheus |
| 133 | + ``` |
0 commit comments