{"host": "cp7001.magru.wmnet", "state": "core_diff", "description": "Differences to core resources", "diff": {"full": {"total": 4106, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "Confd::File[/etc/haproxy/conf.d/tls.cfg]"}, {"resource": "Haproxy::Confd_site[tls]"}, {"resource": "Class[Profile::Cache::Haproxy]", "parameters": "--- Class[Profile::Cache::Haproxy].orig\n+++ Class[Profile::Cache::Haproxy]\n\n+    use_correlation_id => True\n"}, {"resource": "File[/etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl]", "content": "--- /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl.orig\n+++ /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl\n@@ -250,6 +250,13 @@\n     {{ . }}\n     {{- end }}\n     {{- end }}\n+    # Create unique id identifier for correlation and append to Server-Timing header\n+    # Server-Timing response header must exists\n+    unique-id-format %{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid\n+    acl server_timing_present res.fhdr(Server-Timing) -m found\n+\n+    http-after-response set-var(txn.co_id) unique-id,sdbm(1) if server_timing_present\n+    http-after-response set-header Server-Timing \"%[res.fhdr(server-timing)];co_id;desc=\\\"%[var(txn.co_id)]\\\"\" if server_timing_present\n \n     # Set X-Provenance to its final authoritative value, if available.\n     http-request set-header X-Provenance %[var(txn.provenance)] if { var(txn.provenance) -m found }"}], "perc_changed": "0.10%"}, "core": {"total": 4106, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl]", "content": "--- /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl.orig\n+++ /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl\n@@ -250,6 +250,13 @@\n     {{ . }}\n     {{- end }}\n     {{- end }}\n+    # Create unique id identifier for correlation and append to Server-Timing header\n+    # Server-Timing response header must exists\n+    unique-id-format %{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid\n+    acl server_timing_present res.fhdr(Server-Timing) -m found\n+\n+    http-after-response set-var(txn.co_id) unique-id,sdbm(1) if server_timing_present\n+    http-after-response set-header Server-Timing \"%[res.fhdr(server-timing)];co_id;desc=\\\"%[var(txn.co_id)]\\\"\" if server_timing_present\n \n     # Set X-Provenance to its final authoritative value, if available.\n     http-request set-header X-Provenance %[var(txn.provenance)] if { var(txn.provenance) -m found }"}], "perc_changed": "0.02%"}, "main": {"total": 4106, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "Haproxy::Confd_site[tls]"}, {"resource": "Class[Profile::Cache::Haproxy]", "parameters": "--- Class[Profile::Cache::Haproxy].orig\n+++ Class[Profile::Cache::Haproxy]\n\n+    use_correlation_id => True\n"}, {"resource": "Confd::File[/etc/haproxy/conf.d/tls.cfg]"}, {"resource": "File[/etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl]", "content": "--- /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl.orig\n+++ /etc/confd/templates/_etc_haproxy_conf.d_tls.cfg.tmpl\n@@ -250,6 +250,13 @@\n     {{ . }}\n     {{- end }}\n     {{- end }}\n+    # Create unique id identifier for correlation and append to Server-Timing header\n+    # Server-Timing response header must exists\n+    unique-id-format %{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid\n+    acl server_timing_present res.fhdr(Server-Timing) -m found\n+\n+    http-after-response set-var(txn.co_id) unique-id,sdbm(1) if server_timing_present\n+    http-after-response set-header Server-Timing \"%[res.fhdr(server-timing)];co_id;desc=\\\"%[var(txn.co_id)]\\\"\" if server_timing_present\n \n     # Set X-Provenance to its final authoritative value, if available.\n     http-request set-header X-Provenance %[var(txn.provenance)] if { var(txn.provenance) -m found }"}], "perc_changed": "0.10%"}}}