firehose

package
v1.99.0-cluster Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessRequestBody

func ProcessRequestBody(b []byte) ([]byte, error)

ProcessRequestBody converts Cloudwatch Stream protobuf metrics HTTP request body delivered via Firehose into OpenTelemetry protobuf message.

See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html

It joins decoded "data" fields from "record" list:

{
  "requestId": "<uuid-string>",
  "timestamp": <int64-value>,
  "records": [
    {
      "data": "<base64-encoded-payload>"
    }
  ]
}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL