Home / Companies / Grafana Labs / Blog / Post Details
Content Deep Dive

How we're making it easier to use the Loki logging system with AWS Lambda and other short-lived services

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Owen Diehl
Word Count
1,689
Company Posts That Month
23
Language
English
Hacker News Points
-
Post removed?
No
Summary

Efforts are underway to enhance the use of the Loki logging system with AWS Lambda and other ephemeral services, which are challenging due to their short-lived nature and the difficulty in co-locating log forwarding agents like promtail with application logs. Promtail, now equipped with a Push API, can serve as an intermediary in log processing pipelines, facilitating the collection and ingestion of logs from AWS Lambda by assigning timestamps during ingestion rather than relying on those from CloudWatch, thus avoiding out-of-order errors. This method shifts cardinality issues from the number of log streams to the product of log groups and promtails, requiring unique labels for each promtail to prevent conflicts. While this approach mitigates complexities associated with ephemeral services, future plans include potentially relaxing Loki's ordering constraints to simplify log ingestion by eliminating the need to maintain strict chronological order, thereby reducing operational complexity for users.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 18 538 87 34 +25%
Real-time 1 629 236 77 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.