Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessRequestBody ¶
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>" } ] }
func ResponseWriter ¶ added in v1.97.7
ResponseWriter writes response for AWS Firehose HTTP Endpoint request https://docs.aws.amazon.com/firehose/latest/dev/httpdeliveryrequestresponse.html#responseformat
func WriteSuccessResponse ¶ added in v1.97.7
func WriteSuccessResponse(w http.ResponseWriter, r *http.Request)
WriteSuccessResponse writes success response for AWS Firehose request.
See https://docs.aws.amazon.com/firehose/latest/dev/httpdeliveryrequestresponse.html#responseformat
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.