mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-19 21:23:04 +02:00
22 lines
398 B
Go
22 lines
398 B
Go
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",
|
|
}
|
|
)
|