Public analytics as a Node.js microservice. No sysadmin experience required! 📈
This version introduces support for metadata with POST requests. The old way of GET requests will still work, however, if you want to store more information like browser versions(finally you can prove that your users has stopped using some old browser) it is necessary to do a POST request. Checkout the example in the readme for more info
get
in the adapters. Previously the filtering was not sent to the database when not using the ?all=true
option in the request and thus it returned the wrong value.Adapter utils are now in its own package 🎉 This package contains tests and reusable filtering functions for adapters. See writing adapter guide for more info.
micro-analytics now has a healthcheck endpoint at /_healthcheck
. It will show the health fetched
with the adapter. If the adapter does not support healthcheck it will show "unknown"
. The endpoint
also has information about version of adapter and micro-analytics-cli and a list of optional features.
See demo.micro-analytics.io/_healthcheck for example response.
micro-analytics-adapter-utils
Adapter utils are moved to its own package, micro-analytics-adapter-utils, including adapter tests. writing-adapters guide has updated information