tempo
tempo copied to clipboard
Refactoring: implement traceql.Static as interface
What this PR does:
This makes it possible to add support for new types to traceql.Static
without extending the existing struct.
The PR also adds the type traceql.StaticHashCode
. The type is intended to be used as map key. This allows the implementation of traceql.Static
implementations containing slices.
Which issue(s) this PR fixes: Is prerequisite for grafana/tempo-squad#435
Checklist
- [x] Tests updated
- [ ] Documentation added
- [ ]
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]