go-tracing
go-tracing
is a call chain tracing library for the go
language.
Introduce
Use go-tracing
to begin and end TraceSpan
conveniently, and Trace Id
will be automatically generated internally. When printing logs or returning http
responses, you can easily access the TraceId
of the current coroutine.
Usage & Demo
This chapter briefly introduces how to install and use the go-tracing
library.
License
go-tracing
是在 Apache License 2.0 下发布的。
Copyright 2021-2022 IFLYTEK Co., Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.