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
api_version: core/v2 type: Handler metadata: name: influxdb spec: type: pipe command: sensu-influxdb-handler env_vars: - INFLUXDB_BUCKET="{{ .Check.Namespace }}" filters: - has_metrics runtime_assets: - sensu/sensu-influxdb-handler
`
results in: "msg":"event pipe handler executed","output":"2022/11/16 14:37:10 influxdb2client E! Write error: not found: bucket "{{.Check.Namespace}}" not found\nError executing sensu-influxdb-handler: error executing handler: write failed (attempts 0): not found: bucket "{{.Check.Namespace}}" not found\n"
I've tried {{.Check.Namespace}} as well as {{.Entity.Namespace}}
Also I've noticed that ENV vars are parsed wrong - even if the are strings e.g.
INFLUXDB_BUCKET="somestring" vs. INFLUXDB_BUCKET=somestring
the first one preserves the quotes (which is wrong?)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
`
results in:
"msg":"event pipe handler executed","output":"2022/11/16 14:37:10 influxdb2client E! Write error: not found: bucket "{{.Check.Namespace}}" not found\nError executing sensu-influxdb-handler: error executing handler: write failed (attempts 0): not found: bucket "{{.Check.Namespace}}" not found\n"
I've tried {{.Check.Namespace}} as well as {{.Entity.Namespace}}
Also I've noticed that ENV vars are parsed wrong - even if the are strings
e.g.
INFLUXDB_BUCKET="somestring"
vs.
INFLUXDB_BUCKET=somestring
the first one preserves the quotes (which is wrong?)
The text was updated successfully, but these errors were encountered: