mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 02:28:08 -05:00
CloudWatch's OTel enrichment reads resource tags through ObservabilityAdmin's resource tags for telemetry feature, which has to be running before StartOTelEnrichment enables tag enrichment. Add the ObservabilityAdmin service with StartTelemetryEnrichment, StopTelemetryEnrichment and GetTelemetryEnrichmentStatus, one feature per account and Region. Starting the feature has Resource Explorer create a LOCAL index when the Region has none and a managed view that includes tags, as the CloudWatch user guide describes. GetManagedView and ListManagedViews now answer the views Floci's services create. A status read before the first start is the modeled ResourceNotFoundException, and a stop of a stopped or never-started feature changes nothing. The passed-roles table now reads ObservabilityAdmin. A vendored source, written from the CloudWatch user guide and the Observability Admin API reference, gives a dataset integration's role to CloudWatch Logs, whose trust policy it names, and gives where a telemetry pipeline's YAML configuration names its roles: its source's and its Secrets Manager extension's, each going to the service its source type's role trusts, and to CloudWatch Logs as well with a lookup processor or a conditional route. Part of #7030.