1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-07-06 22:35:51 +02:00
Files
go-micro/plugins/wrapper/trace/datadog/stats.go

22 lines
398 B
Go
Raw Normal View History

2020-12-26 15:32:45 +00:00
package datadog
// TODO: add statd
// https://github.com/DataDog/datadog-go/tree/master/statsd
// StatsProfile groups metrics-related data.
type StatsProfile struct {
Role string
}
var (
// ClientProfile is used for RPC clients.
ClientProfile = &StatsProfile{
Role: "micro.client",
}
// ServerProfile is used for RPC servers.
ServerProfile = &StatsProfile{
Role: "micro.server",
}
)