/** * Updates the metrics tags based on the information in this class. */ public Map<String, String> updateMetricsTags(Map<String, String> tags) { tags.put(Constants.Metrics.Tag.WORKFLOW, getName()); tags.put(Constants.Metrics.Tag.WORKFLOW_RUN_ID, getRunId().getId()); tags.put(Constants.Metrics.Tag.NODE, getNodeId()); return tags; }
/** * Updates the metrics tags based on the information in this class. */ public Map<String, String> updateMetricsTags(Map<String, String> tags) { tags.put(Constants.Metrics.Tag.WORKFLOW, getName()); tags.put(Constants.Metrics.Tag.WORKFLOW_RUN_ID, getRunId().getId()); tags.put(Constants.Metrics.Tag.NODE, getNodeId()); return tags; }