mirror of
https://github.com/golang/go
synced 2024-11-19 01:24:39 -07:00
156eb2ae29
This is a straight move of some code with no changes. It splits the part of the telemetry code that will become a standalone library from the bit that belongs in the lsp. Change-Id: Icedb6bf1f3711da9251450531729984df6df7787 Reviewed-on: https://go-review.googlesource.com/c/tools/+/190403 Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
16 lines
714 B
Go
16 lines
714 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package telemetry provides an opinionated set of packages that cover the main
|
|
// concepts of telemetry in an implementation agnostic way.
|
|
// As a library author you should look at
|
|
// stats (for aggregatable measurements)
|
|
// trace (for scoped timing spans)
|
|
// log (for for time based events)
|
|
// As a binary author you might look at
|
|
// metric (for methods of aggregating stats)
|
|
// exporter (for methods of exporting the telemetry to external tools)
|
|
// debug (for serving internal http pages of some of the telemetry)
|
|
package telemetry
|