Add metric mapping slave and instance id to name

Add exported metrics that map instance id and slave id to their
respective names.  This allows getting the instance name of a metric by
doing a left join using query of the form 'metric * on(instance_id)
group_left(instance_name) clusterio_master_instance_mapping'.
This commit is contained in:
Hornwitser committed 2020-12-07 17:22:17 +01:00
1 parent 71164faa14
commit 450e27e001
2 files changed
+41 -3

No files matched your search

+2
View File
@@ -51,6 +51,8 @@ Version 2.0.0
- Added stripping of long paths in the Factorio server log.
- Added option to configure maximum number of commands to send in parallel.
- Added option to auto start instances on slave startup.
- Added metric mapping of slave and instance ids to their names, allowing
them to be displayed by name in queries that join with the mapping.
### Changes