@@ -149,9 +149,9 @@ func (r *Runtime) updateAndEmit(payload sync.DataSync) bool {
149
149
tracer := tp .Tracer ("flagd-sync" )
150
150
ctx , span := tracer .Start (context .Background (), "flagd flagset update" ,
151
151
trace .WithSpanKind (trace .SpanKindProducer ),
152
- trace .WithAttributes (attribute .String ("feature_flag.source" , payload .Source )),
153
- trace .WithAttributes (attribute .String ("feature_flag.selector " , payload .Selector )),
154
- trace .WithAttributes (attribute .String ("feature_flag.sync_type" , payload .Type .String ())),
152
+ trace .WithAttributes (attribute .String ("feature_flag.set. source" , payload .Source )),
153
+ trace .WithAttributes (attribute .String ("feature_flag.set.id " , payload .Selector )),
154
+ trace .WithAttributes (attribute .String ("feature_flag.flagd. sync_type" , payload .Type .String ())),
155
155
)
156
156
defer span .End ()
157
157
notifications , resyncRequired , err := r .Evaluator .SetState (payload )
@@ -163,7 +163,7 @@ func (r *Runtime) updateAndEmit(payload sync.DataSync) bool {
163
163
}
164
164
165
165
// Number of notifications correlates to the number of flags changed through this sync, record it
166
- span .SetAttributes (attribute .Int ("feature_flag.change_count " , len (notifications )))
166
+ span .SetAttributes (attribute .Int ("feature_flag.set.flag_count " , len (notifications )))
167
167
168
168
r .Service .Notify (service.Notification {
169
169
Type : service .ConfigurationChange ,
0 commit comments