@@ -149,9 +149,9 @@ func (r *Runtime) updateAndEmit(payload sync.DataSync) bool {
149149 tracer := tp .Tracer ("flagd-sync" )
150150 ctx , span := tracer .Start (context .Background (), "flagd flagset update" ,
151151 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 ())),
155155 )
156156 defer span .End ()
157157 notifications , resyncRequired , err := r .Evaluator .SetState (payload )
@@ -163,7 +163,7 @@ func (r *Runtime) updateAndEmit(payload sync.DataSync) bool {
163163 }
164164
165165 // 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 )))
167167
168168 r .Service .Notify (service.Notification {
169169 Type : service .ConfigurationChange ,
0 commit comments