You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
Update the instrument agg comp table (#4330)
Use a check mark to indicate compatible instead of an "X" which can be misinterpreted as incompatible.
This commit is contained in:
@@ -425,12 +425,12 @@ func (i *inserter[N]) aggregateFunc(b aggregate.Builder[N], agg aggregation.Aggr
|
||||
//
|
||||
// | Instrument Kind | Drop | LastValue | Sum | Histogram | Exponential Histogram |
|
||||
// |--------------------------|------|-----------|-----|-----------|-----------------------|
|
||||
// | Counter | X | | X | X | X |
|
||||
// | UpDownCounter | X | | X | | |
|
||||
// | Histogram | X | | X | X | X |
|
||||
// | Observable Counter | X | | X | | |
|
||||
// | Observable UpDownCounter | X | | X | | |
|
||||
// | Observable Gauge | X | X | | | |.
|
||||
// | Counter | ✓ | | ✓ | ✓ | ✓ |
|
||||
// | UpDownCounter | ✓ | | ✓ | | |
|
||||
// | Histogram | ✓ | | ✓ | ✓ | ✓ |
|
||||
// | Observable Counter | ✓ | | ✓ | | |
|
||||
// | Observable UpDownCounter | ✓ | | ✓ | | |
|
||||
// | Observable Gauge | ✓ | ✓ | | | |.
|
||||
func isAggregatorCompatible(kind InstrumentKind, agg aggregation.Aggregation) error {
|
||||
switch agg.(type) {
|
||||
case aggregation.Default:
|
||||
|
||||
Reference in New Issue
Block a user