Skip to content

Commit

Permalink
dollar version
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Dec 12, 2024
1 parent 28ede1d commit aeb7825
Show file tree
Hide file tree
Showing 11 changed files with 666 additions and 635 deletions.
1 change: 1 addition & 0 deletions pkg/ottl/contexts/internal/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func accessResourceAttributesKey[K ResourceContext](keys []ottl.Key[K]) ottl.Sta
Setter: func(ctx context.Context, tCtx K, val any) error {
return SetMapValue[K](ctx, tCtx, tCtx.GetResource().Attributes(), keys, val)
},
// TODO
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/ottl/contexts/internal/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func accessInstrumentationScopeAttributesKey[K InstrumentationScopeContext](keys
Setter: func(ctx context.Context, tCtx K, val any) error {
return SetMapValue[K](ctx, tCtx, tCtx.GetInstrumentationScope().Attributes(), keys, val)
},
// TODO
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/ottl/contexts/internal/span.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ func accessAttributesKey[K SpanContext](keys []ottl.Key[K]) ottl.StandardGetSett
Setter: func(ctx context.Context, tCtx K, val any) error {
return SetMapValue[K](ctx, tCtx, tCtx.GetSpan().Attributes(), keys, val)
},
// TODO
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/ottl/contexts/ottldatapoint/datapoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ func accessAttributesKey(key []ottl.Key[TransformContext]) ottl.StandardGetSette
case pmetric.SummaryDataPoint:
return internal.SetMapValue[TransformContext](ctx, tCtx, tCtx.GetDataPoint().(pmetric.SummaryDataPoint).Attributes(), key, val)
}
// TODO
return nil
},
}
Expand Down
1 change: 1 addition & 0 deletions pkg/ottl/contexts/ottllog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ func accessAttributesKey(key []ottl.Key[TransformContext]) ottl.StandardGetSette
Setter: func(ctx context.Context, tCtx TransformContext, val any) error {
return internal.SetMapValue[TransformContext](ctx, tCtx, tCtx.GetLogRecord().Attributes(), key, val)
},
// TODO
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/ottl/contexts/ottlspanevent/span_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ func accessSpanEventAttributesKey(key []ottl.Key[TransformContext]) ottl.Standar
Setter: func(ctx context.Context, tCtx TransformContext, val any) error {
return internal.SetMapValue[TransformContext](ctx, tCtx, tCtx.GetSpanEvent().Attributes(), key, val)
},
// TODO
}
}

Expand Down
Loading

0 comments on commit aeb7825

Please sign in to comment.