agardnerIT / agardnerIT/logs-to-spans-otel
Configurable span naming instead of full log body
Ouverte
- Langage dominant
- Go
- Étoiles
- 6
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Currently the span name is set to the full log body, which is noisy in trace views.
Add a `span_name_template` config option with support for placeholders:
- `{body}` — full log body (current behaviour)
- `{severity}: {body}` — severity prefix
- `{truncated:100:body}` — first N chars
- Or a simple OTTL-style expression
Default should remain the full body for backward compatibility.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.