We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
currently I am getting the output of yaml.dump() as like this
error_query: |2- sum(rate(http_request_duration_seconds_count{job="myservice",code=~"(5..|429)"}[{{.window}}])) total_query: |2- sum(rate(http_request_duration_seconds_count{job="myservice"}[{{.window}}]))
for this piece of code
events: { error_query:`\n ${sloContextData.errorQuery.trim()}`, total_query:`\n ${sloContextData.totalQuery.trim()}`,
what I want is the output to look like this
error_query: | sum(rate(http_request_duration_seconds_count{job="myservice",code=~"(5..|429)"}[{{.window}}])) total_query: | sum(rate(http_request_duration_seconds_count{job="myservice"}[{{.window}}]))
Thanks any help is much appreciated
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently I am getting the output of yaml.dump() as like this
for this piece of code
what I want is the output to look like this
Thanks any help is much appreciated
The text was updated successfully, but these errors were encountered: