https://github.com/logzio/metric-stream-lambda
Lambda function that receives OTLP (0.7.0) data from AWS metric stream and exports the data to logz.io using prometheus remote write
https://github.com/logzio/metric-stream-lambda
integration integrations
Last synced: about 2 months ago
JSON representation
Lambda function that receives OTLP (0.7.0) data from AWS metric stream and exports the data to logz.io using prometheus remote write
- Host: GitHub
- URL: https://github.com/logzio/metric-stream-lambda
- Owner: logzio
- License: apache-2.0
- Created: 2022-03-31T07:38:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T13:12:10.000Z (7 months ago)
- Last Synced: 2025-04-01T14:14:32.076Z (2 months ago)
- Topics: integration, integrations
- Language: Go
- Homepage:
- Size: 8.42 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# metric-stream-lambda
Lambda function that receives OTLP (1.0) data from AWS metric stream and exports the data to logz.io using prometheus remote write### How to create function.zip
```
make function
```### Limitations
This function has the following limitations:- It can only process metrics data in OTLP 1.0 format.
- It can only forward the data to a Prometheus Remote Write endpoint.### Changelog
- v2.0.0
- Breaking changes:
- Move from otlp 0.7 -> otlp 1.0
- Add support for custom p8s_logzio_name label
- Performance improvements
- v1.0.2
- Stop trying to send bulks if encountered 401 status code
- Add logzio identifier to each log (5 last chars of the shipping token)
- Add zip workflow and artifact
- v1.0.1
- Improved logging (Add `zap` logger)
- Add metadata (AWS account, firehose request id, lambda invocation id) to each log for context
- Flush buffered logs if exists, before the function run ends
- v1.0.0
- Initial release: Lambda function that receives OTLP (0.7.0) data from AWS metric stream and exports the data to logz.io using Prometheus remote write