We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d34b5 commit cdb01beCopy full SHA for cdb01be
.github/actions/emit-metrics/action.yml
@@ -65,9 +65,16 @@ runs:
65
echo -n "$(trim "$PROCESSED")"
66
}
67
68
+ RAW_DIMENSIONS=$(cat << END_OF_DIMENSIONS
69
+ ${{ inputs.dimensions }}
70
+ END_OF_DIMENSIONS )
71
+ RAW_METRICS=$(cat << END_OF_METRICS
72
+ ${{ inputs.metrics }}
73
+ END_OF_METRICS )
74
+
75
NAMESPACE="--namespace \"${{ inputs.namespace }}\""
- DIMENSIONS="$(format "--dimension" "${{ inputs.dimensions }}")"
- METRICS="$(format "--metric" "${{ inputs.metrics }}")"
76
+ DIMENSIONS="$(format "--dimension" "$RAW_DIMENSIONS")"
77
+ METRICS="$(format "--metric" "$RAW_METRICS")"
78
CMD="kat metrics emit $NAMESPACE $DIMENSIONS $METRICS"
79
80
echo "Executing command \"$CMD\""
0 commit comments