Files
zeekay 087e487107 feat: rebrand signoz-otel-collector → Hanzo OTEL Collector
- Go module: github.com/SigNoz/signoz-otel-collector → github.com/hanzoai/otel-collector
- All signoz-prefixed packages → o11y-prefixed
- Docker: signoz/* → ghcr.io/hanzoai/otel-collector
- ClickHouse exporter → Hanzo Datastore
- Env vars: SIGNOZ_* → HANZO_*
- Directory renames for all processor/receiver/exporter packages
2026-03-12 00:21:24 -07:00

101 lines
3.1 KiB
YAML

o11ytransform:
trace_statements:
- context: span
statements:
- set(name, "bear") where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
- context: resource
statements:
- set(attributes["name"], "bear")
metric_statements:
- context: datapoint
statements:
- set(metric.name, "bear") where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
- context: resource
statements:
- set(attributes["name"], "bear")
log_statements:
- context: log
statements:
- set(body, "bear") where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
- context: resource
statements:
- set(attributes["name"], "bear")
o11ytransform/ignore_errors:
error_mode: ignore
trace_statements:
- context: resource
statements:
- set(attributes["name"], "bear")
o11ytransform/bad_syntax_log:
log_statements:
- context: log
statements:
- set(body, "bear" where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
o11ytransform/bad_syntax_metric:
metric_statements:
- context: datapoint
statements:
- set(name, "bear" where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
o11ytransform/bad_syntax_trace:
trace_statements:
- context: span
statements:
- set(name, "bear" where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
o11ytransform/bad_syntax_multi_signal:
trace_statements:
- context: span
statements:
- set(name, "bear" where attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
metric_statements:
- context: datapoint
statements:
- set(name, "bear" attributes["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
log_statements:
- context: log
statements:
- set(body, "bear" none["http.path"] == "/animal"
- keep_keys(attributes, ["http.method", "http.path"])
o11ytransform/unknown_function_log:
log_statements:
- context: log
statements:
- set(body, "bear") where attributes["http.path"] == "/animal"
- not_a_function(attributes, ["http.method", "http.path"])
o11ytransform/unknown_function_metric:
metric_statements:
- context: datapoint
statements:
- set(metric.name, "bear") where attributes["http.path"] == "/animal"
- not_a_function(attributes, ["http.method", "http.path"])
o11ytransform/unknown_function_trace:
trace_statements:
- context: span
statements:
- set(name, "bear") where attributes["http.path"] == "/animal"
- not_a_function(attributes, ["http.method", "http.path"])
o11ytransform/unknown_context:
trace_statements:
- context: test
statements:
- set(name, "bear") where attributes["http.path"] == "/animal"
o11ytransform/unknown_error_mode:
error_mode: test