fixes
This commit is contained in:
1 parent
f30adf05af
commit
8824af8699
29 files changed
+1201
-115
No files matched your search
@@ -4,6 +4,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.tornberg.me/go-otel/internal/uaclass"
|
||||
)
|
||||
|
||||
// EndpointStats reads raw trace spans because the production entries table is
|
||||
@@ -85,6 +87,9 @@ func (s *ClickHouseStore) EndpointStats(ctx context.Context, host, service strin
|
||||
); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if stat.UserAgent != "" {
|
||||
stat.UAClass = uaclass.Of(stat.UserAgent)
|
||||
}
|
||||
if stat.Route == "/" && stat.Path != "/" {
|
||||
stat.Route = ""
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user