Merge pull request 'fix: unquote PAYLOAD heredoc so runtime vars are expanded' (#49) from feat/push-monitoring-agent-v2 into master
Reviewed-on: #49
This commit was merged in pull request #49.
This commit is contained in:
@@ -62,7 +62,7 @@ collect_metrics() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
push_metrics() {
|
push_metrics() {
|
||||||
payload=\$(cat << 'PAYLOAD'
|
payload=\$(cat << PAYLOAD
|
||||||
{
|
{
|
||||||
"agent_key": "\$AGENT_KEY",
|
"agent_key": "\$AGENT_KEY",
|
||||||
"cpu": \$CPU,
|
"cpu": \$CPU,
|
||||||
|
|||||||
Reference in New Issue
Block a user