Add counters for incoming events from Qlik Sense #884
mountaindude
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current situation
User and log events arrive in the form of UDP messages, sent by means of log appender XML files on the QS server(s).
The event type is either
user
orlog
.The events have a name field identifying the kind of content the event relates to.
Current user event names are
Current log event names are
If an incorrect log appender is configured and sends UDP messages to Butler SOS, those messages will be rejected with a warning in the Butler SOS console/file log.
Suggested change
To get a better understanding of how how many UDP messages are sent from QS to Butler SOS counters could be added.
There would be separate counters for all event types, and one for unknown/unrecognised event names.
The counters start from zero when Butler SOS is started.
Config file changes
Qix performance monitoring
For
qseow-qix-perf
log event messages there could potentially be very large message volumes.For example, during reloads there will be a reload progress event every 2 seconds, which will result in large number of events for long running reloads.
As part of #320 Butler SOS will include filtering capabilities that when used will (greatly) reduce the number of datapoints written to InfluxDB.
This means that some log events will be rejected by those filters.
But how many and which ones?
Write a summary of the rejected
qseow-qix-perf
events to InfluxDB, broken down by the event'smethod
andobject_type
properties.In order to avoid putting too much stress on InfluxDB and Butler SOS itself this data would be written to InfluxDB at a configurable interval (something like very 5 minutes).
InfluxDB schema
A new measurement "event_count" would be added, with tags
event_type:
user
orlog
.event_name:
unknown
or the event names listed aboveFor logs the following tags will also be used
app_id
method
object_type
It should also be possible to define static tags in the Butler SOS YAML config file.
These tags should be added to all datapoints written to InfluxDB.
Beta Was this translation helpful? Give feedback.
All reactions