|
|
|
|
|
by denysvitali
1732 days ago
|
|
Because you're suddenly putting metrics (that should belong to a time-series database) into a full-text search database. The result is a dashboard that takes ages to load just to show a trend in values. I think it's using the wrong tool for the job, but maybe it's just me. |
|
Immutable time series data like logs and metrics are a great fit for Elasticsearch due to the way Lucene stores data. Documents in Lucene are immutable so an update in Elasticsearch is creates a new document and places a tombstone marker on the old one. Immutable data means you don't have to tolerate those inefficiencies.
Dashboards don't load the entire dataset by default. I can't remember what the exact default time range is but I think it's ~15 minutes or so. They're fairly quick to render in Kibana.
Elasticsearch is a great tool for observability data (logs, metrics, and APM data). Elastic's tooling makes a lot of this really easy in most cases.