Eagleyeix the Dart library for sharper observations and smarter reactions
Eagleyeix is a metrics logger that collects and records numerical data representing system performance or application behaviour, typically in key-value pairs. Unlike general loggers, it focuses solely on metrics such as CPU usage, memory consumption, request rates, and business KPIs.
Highlights:
- Collect numerical data representing system performance or application behaviour.
- Ensure higher user privacy by aggregating the data. Aggregation involves combining individual data points into broader summaries.
- To improve privacy, metric data can be stored as orders of magnitude.
- Metrics data can be exported as JSON
A few examples:
Create a metric key:
static final create = ExMetricKey(name: ['eagleyeix','example','create'],
dimensions: {'unit': 'count'});
Create a metric store:
final store = ExMetricStoreHolder().store;
Add a metric:
store.addMetric(create, 0.7);
Create a median aggregation:
final median = ExMetricAggregations.median()
Aggregate the metrics:
store.aggregateAll(median);