@@ -312,8 +312,8 @@ func (r *DetectedLabelsRequest) WithQuery(query string) queryrangebase.Request {
312
312
313
313
func (r * DetectedLabelsRequest ) LogToSpan (sp opentracing.Span ) {
314
314
sp .LogFields (
315
- otlog .String ("start" , timestamp .Time (r .GetStart ().UnixNano ()).String ()),
316
- otlog .String ("end" , timestamp .Time (r .GetEnd ().UnixNano ()).String ()),
315
+ otlog .String ("start" , timestamp .Time (r .GetStart ().UnixMilli ()).String ()),
316
+ otlog .String ("end" , timestamp .Time (r .GetEnd ().UnixMilli ()).String ()),
317
317
)
318
318
}
319
319
@@ -2359,8 +2359,8 @@ func (r *DetectedFieldsRequest) WithQuery(query string) queryrangebase.Request {
2359
2359
2360
2360
func (r * DetectedFieldsRequest ) LogToSpan (sp opentracing.Span ) {
2361
2361
sp .LogFields (
2362
- otlog .String ("start" , timestamp .Time (r .GetStart ().UnixNano ()).String ()),
2363
- otlog .String ("end" , timestamp .Time (r .GetEnd ().UnixNano ()).String ()),
2362
+ otlog .String ("start" , timestamp .Time (r .GetStart ().UnixMilli ()).String ()),
2363
+ otlog .String ("end" , timestamp .Time (r .GetEnd ().UnixMilli ()).String ()),
2364
2364
otlog .String ("query" , r .GetQuery ()),
2365
2365
otlog .Int64 ("step (ms)" , r .GetStep ()),
2366
2366
otlog .Int64 ("line_limit" , int64 (r .GetLineLimit ())),
0 commit comments