Skip to content

Create a custom exporter that ingests logs before shipping to Loki #44

@ghost

Description

  • What is the current behavior?
    Right now, we use Loki to query and display metrics using log aggregation. However, this could be a bottleneck at scale depending on the amount of logs we are ingesting.

One can argue we're not really using the right tool for our use case either which is to show metrics. Log aggregation may be overkill for this.

Instead, what if we built a customer exporter (ingestor) that scrapes and outputs time-series metrics based off each log? This will allow for a really responsive metric querying and visualization, while still relying on Loki for indepth log analysis.

Notes

Need to baseline the performance and determine if the benefits are worth it.

How much can an ingestor/exporter scale ingesting the logs?
Can we use grok_exporter ?
Is this an anti pattern to what Loki is suppose to be? Or can we use both? One for metrics, one for indepth debugging.
Does promtail/loki already support something like this so we don't have to spin up another process

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions