Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(loki sink, observability): Drop non-fatal template render errors …
…to warnings (vectordotdev#17746) If a render error doesn't result in a dropped event, it seems more like a warning than an error. For the places that currently emit template errors with `drop_event: false`: * `loki` sink: skips inserting label if key or value fails to render; falls back to `None` for partitioning using `tenant_id` * `throttle` transform: falls back to `None` for throttle key * `log_to_metric` transform: skips tag addition * `papertrail` sink: falls back to `vector` for the `process` field * `splunk_hec_logs` sink: falls back to `None` for partition keys (source, sourcetype, index) * `splunk_hec_metrics` sink: falls back to `None` for source, sourcetype, index Fixes: vectordotdev#17487 Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com> Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
- Loading branch information