Smaws_Client_CloudWatch.StartOTelEnrichmentEnables enrichment and PromQL access for CloudWatch vended metrics for supported Amazon Web Services resources in the account. Once enabled, metrics that contain a resource identifier dimension (for example, EC2 CPUUtilization with an InstanceId dimension) are enriched with resource ARN and resource tag labels and become queryable using PromQL.
Before calling this operation, you must enable resource tags on telemetry for your account. For more information, see Enable resource tags on telemetry.
val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error ] -> stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_o_tel_enrichment_input ->
(Types.start_o_tel_enrichment_output,
[> Smaws_Lib.Protocols.AwsQuery.error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_o_tel_enrichment_input ->
(Types.start_o_tel_enrichment_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error ] * Smaws_Lib.Response.metadata)
Stdlib.result