Skip to content

Eagleyeix the Dart library for sharper observations and smarter reactions

License

Notifications You must be signed in to change notification settings

flarebyte/eagleyeix

Repository files navigation

eagleyeix

Experimental

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.

Hero image for eagleyeix

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);

Documentation and links

Related

About

Eagleyeix the Dart library for sharper observations and smarter reactions

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages