Files
terraform-aws-observability…/docs/adothealth/index.md
T
Reshma Mathews 620516c48a Add docs for adothealth monitoring (#224)
* added docs for ADOT health monitoring

* Update index.md - Added screen-shots of the dashboard

* Update index.md -Corrected some typos and formatting

* Update index.md - Made corrections based on comments

* Update index.md

---------

Co-authored-by: Mathews <kurampil@amazon.com>
2023-08-25 12:43:57 -04:00

3.7 KiB
Raw Blame History

Monitoring ADOT collector health

The OpenTelemetry collector produces metrics to monitor the entire pipeline. In the EKS monitoring module, we have enabled those metrics by default with the AWS Distro for OpenTelemetry (ADOT) collector. You get a Grafana dashboard named OpenTelemetry Health Collector. This dashboard shows useful telemetry information about the ADOT collector itself which can be helpful when you want to troubleshoot any issues with the collector or understand how much resources the collector is consuming.

!!!note The dashboard and metrics used are not specific to Amazon EKS, but applicable to any environment running an OpenTelemetry collector.

Below diagram shows an example data flow and the components in an ADOT collector:

ADOTCollectorComponents

In this dashboard, there are five sections. Each section has metrics relevant to the various components of the AWS Distro for OpenTelemetry (ADOT) collector :

Receivers

Shows the receiver’s accepted and refused rate/count of spans and metric points that are pushed into the telemetry pipeline.

Processors

Shows the accepted and refused rate/count of spans and metric points pushed into next component in the pipeline. The batch metrics can help to understand how often metrics are sent to exporter and the batch size.

receivers_processors

Exporters

Shows the exporter’s accepted and refused rate/count of spans and metric points that are pushed to any of the destinations. It also shows the size and capacity of the retry queue. These metrics can be used to understand if the collector is having issues in sending trace or metric data to the destination configured.

exporters

Collectors

Shows the collector’s operational metrics (Memory, CPU, uptime). This can be used to understand how much resources the collector is consuming.

collectors

Data Flow

Shows the metrics and spans data flow through the collector’s components.

dataflow

!!!note To read more about the metrics used, and the dashboard use, visit the upstream documentation here.

Deploy instructions

As this is enabled by default in the EKS monitoring module, visit this example’s instructions which will provide the ADOT collector health dashboard after deployment

Disable ADOT health monitoring

You can disable ADOT collector health metrics by setting the variable enable_adotcollector_metrics to false.

variable "enable_adotcollector_metrics" {
  description = "Enables collection of ADOT collector metrics"
  type        = bool
  default     = true
}