Analytics: extensibility
As far as I understand this, analytics samples “metrics”, fires an “alarm” if a metric exceeds a configurable threshold, and triggers an “action” for some configured alarms.
Now I wonder how to extend the default metrics, alerts and actions.
- Extending metrics:
- We can add additional metrics from a web-app using `studio-analytics.track-custom-event`
- But can we also add custom metrics based on server-side configuration? I.e. tell analytics to keep track of a certain value from the server-logs?
- Extending alerts:
- Under "settings > Studio Web Apps > Alarms" I see one pre-configured metric: Map Load Time. Is there a way to add more metrics to the alerts? For example, I might want to trigger an alert when a certain button is clicked, or a certain error is raised.
- Extending actions:
- This is actually rather pleasant. An action is just a powershell-script - so I have every freedom to do anything I want in response to an alert.
0
-
To provide some more context: in the past I've used zabbix and nagios, both of which allow me to script my own custom metrics, alerts and actions. Implementing this would mean
- less effort for the VertiGIS dev team
- more flexibility for the user
- easily retrofit any missing features in analytics.
It seems like a no brainer to me.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire