make the plugin see data stream last by adjusting decorator order, to avoid logging unmasked data#296
Conversation
… avoid logging unmasked data
|
please note CI failure is expected: |
drodriguezhdez
left a comment
There was a problem hiding this comment.
ci.node_name and ci.node_labels can be used to filter data.
I block this PR because this change might break customer dashboards, monitors, etc.
the change just reflects the fact default node name had changed, with or without the change, filter is broken on 2.319.1 or later |
This does not break dashboards/monitors
Actually I am not a datadog user, I don't know how the dashboards works, but the logic in |
jose-manuel-almaza
left a comment
There was a problem hiding this comment.
It is not convenient to put timeouts in the tests in an approximate way.
The tests must always give the same result, regardless of when we run it, machine load or any other factor external to the test.
| assertNotNull(buildSpanMeta.get(CITags.NODE_NAME)); | ||
| assertNotNull(buildSpanMeta.get(CITags.NODE_LABELS)); | ||
| assertNull(buildSpanMeta.get(CITags._DD_HOSTNAME)); | ||
| String nodeName=buildSpanMeta.get(CITags.NODE_NAME); |
There was a problem hiding this comment.
Is this line required?
sarah-witt
left a comment
There was a problem hiding this comment.
Hi @fengxx thanks again for doing the extra work to bump the required minimum jenkins version, I left one small comment

Requirements for Contributing to this repository
make the plugin see data stream last by adjusting decorator order, to avoid logging unmasked data
see also:
jenkinsci/workflow-api-plugin#166
jenkinsci/splunk-devops-plugin@1a10a53
What does this PR do?
Description of the Change
Alternate Designs
Possible Drawbacks
Verification Process
Additional Notes
Release Notes
Review checklist (to be filled by reviewers)
changelog/label attached. If applicable it should have thebackward-incompatiblelabel attached.do-not-merge/label attached.kind/andseverity/labels attached at least.