repositorypackage
1.1.0
Repository: https://github.com/sentrycloud/sentry-sdk-go.git
Documentation: pkg.go.dev
# README
sentry-sdk-go
sentry sdk for sending metrics to sentry_agent or sentry_server in golang
Install
go get https://github.com/sentrycloud/sentry-sdk-go
Usage
package main
import "github.com/sentrycloud/sentry-sdk-go"
func main() {
metric := "testApp_http_qps"
tags := map[string]string {
"from": "iOS",
"aggregator": "sum",
}
qpsCollector := sentry.GetCollector(metric, tags, sentry.Sum, 10)
qpsCollector.Put(1)
}