mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 17:42:25 -06:00
[chore] update otel libraries (#3740)
* chore: update otel dependencies * refactor: combine tracing & metrics in observability package * chore: update example tracing compose file
This commit is contained in:
parent
baed591a1d
commit
dd094e4012
217 changed files with 6873 additions and 2734 deletions
7
vendor/google.golang.org/grpc/internal/channelz/channelmap.go
generated
vendored
7
vendor/google.golang.org/grpc/internal/channelz/channelmap.go
generated
vendored
|
|
@ -234,13 +234,6 @@ func copyMap(m map[int64]string) map[int64]string {
|
|||
return n
|
||||
}
|
||||
|
||||
func min(a, b int) int {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func (c *channelMap) getTopChannels(id int64, maxResults int) ([]*Channel, bool) {
|
||||
if maxResults <= 0 {
|
||||
maxResults = EntriesPerPage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue