Metrics package helps to create ydb-go-sdk traces with monitoring internal state of driver

metrics

metrics package helps to create ydb-go-sdk traces with monitoring internal state of driver

Usage

import (
    "fmt"
    "sync/mutex"
    "time"

    "go.uber.org/zap"

    "github.com/ydb-platform/ydb-go-sdk/v3"

    ydbZap "github.com/ydb-platform/ydb-go-sdk-zap"
)

func main() {
	// init your zap.Logger
	log, err := zap.NewProduction()
	
    db, err := ydb.New(
        context.Background(),
		ydb.MustConnectionString(connection),
		ydb.WithTraceDriver(ydbZap.Driver(
			log,
			ydbZap.DetailsAll,
		)),
		ydb.WithTraceTable(ydbZap.Table(
			log,
			ydbZap.DetailsAll,
		)),
	)
    // work with db
}
Similar Resources

Package figtree provides a multi-paradigm SDK for sophisticated configuration file access

Package figtree provides a multi-paradigm SDK for sophisticated configuration file access. Motivation Figtree syntax is based on classic key/value pai

Dec 31, 2021

A Hepful API that helps the students to find a chair in the Federal University of Rio de Janeiro according the professor name

A Hepful API that helps the students to find a chair in the Federal University of Rio de Janeiro according the professor name

Siga-Professor Table of Contents About Requirements How to use API Routes Setting up Program Technologies About This repository is a Simple api that a

Apr 9, 2022

Helps me find good enough stocks that pay enough dividends using IEX Cloud data provider.

divyield Helps me find good enough stocks that pay enough dividends using IEX Cloud data provider. Create database using the postgres/scripts/createdb

Feb 4, 2022

Wau helps you find apps where target email is registered.

Where are you ? 🧐 wau helps you find apps where target email is registered. wau takes less than 2 seconds! wau can be executed through a Command Line

Dec 6, 2022

EggContractor is a self-hosted contract monitoring web app + CLI client for Egg

EggContractor is a self-hosted contract monitoring web app + CLI client for Egg, Inc.. It allows you to easily monitor all your contract progress, as well as peeking into prospective coops you may want to join.

Nov 23, 2022

Qfy - Self-hosted implementation of Synthetics - Monitoring checks to validate your service availability

qfy Self-hosted implementation of Synthetics - Monitoring checks to validate you

Feb 23, 2022

Rewritten glusterfs csi driver to use with heketi API

Rewritten glusterfs csi driver to use with heketi API

Glusterfs-Heketi CSI driver The CSI (Container Storage Interface) is a universal way to provide storage for the applications. This version of the plug

Dec 8, 2022

ANT, ANT+, ANT-FS library and ANT-USB driver written in Go

go-ant ANT, ANT+, ANT-FS library and ANT-USB driver written in Go Instalation Install with: go get -u github.com/purpl3F0x/go-ant Import to project im

Dec 7, 2021
Comments
  • Fix example in README

    Fix example in README

    I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

    Pull request type

    Please check the type of change your PR introduces:

    • [ ] Bugfix
    • [ ] Feature
    • [ ] Code style update (formatting, renaming)
    • [ ] Refactoring (no functional changes, no api changes)
    • [ ] Build related changes
    • [x] Documentation content changes
    • [ ] Other (please describe):
  • Add topic writer logs

    Add topic writer logs

    I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

    Pull request type

    Please check the type of change your PR introduces:

    • [ ] Bugfix
    • [x] Feature
    • [ ] Code style update (formatting, renaming)
    • [ ] Refactoring (no functional changes, no api changes)
    • [ ] Build related changes
    • [ ] Documentation content changes
    • [ ] Other (please describe):
  • Structural logger

    Structural logger

    I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

    Pull request type

    Please check the type of change your PR introduces:

    • [ ] Bugfix
    • [ ] Feature
    • [ ] Code style update (formatting, renaming)
    • [x] Refactoring (no functional changes, no api changes)
    • [ ] Build related changes
    • [ ] Documentation content changes
    • [ ] Other (please describe):

    What is the current behavior?

    Issue Number: N/A

    Satellite PR for https://github.com/ydb-platform/ydb-go-sdk/pull/451 (ydb-go-sdk Issue 364)

    What is the new behavior?

    Other information

  • feat: option for disable log of start events

    feat: option for disable log of start events

    Feature Request

    Describe the Feature Request Now log adapters log start and finish event events. Start event often not need (all data contained in finish event record).

    Describe Preferred Solution Option for create log tracers for disable log start events

A go sdk for baidu netdisk open platform 百度网盘开放平台 Go SDK

Pan Go Sdk 该代码库为百度网盘开放平台Go语言的SDK

Nov 22, 2022
Nextengine-sdk-go: the NextEngine SDK for the Go programming language

NextEngine SDK for Go nextengine-sdk-go is the NextEngine SDK for the Go programming language. Getting Started Install go get github.com/takaaki-s/nex

Dec 7, 2021
Commercetools-go-sdk is fork of original commercetools-go-sdk

commercetools-go-sdk The Commercetools Go SDK is automatically generated based on the official API specifications of Commercetools. It should therefor

Dec 13, 2021
Sdk-go - Go version of the Synapse SDK

synapsesdk-go Synapse Protocol's Go SDK. Currently in super duper alpha, do not

Jan 7, 2022
Redash-go-sdk - An SDK for the programmatic management of Redash, in Go
Redash-go-sdk - An SDK for the programmatic management of Redash, in Go

Redash Go SDK An SDK for the programmatic management of Redash. The main compone

Dec 13, 2022
Go package providing opinionated tools and methods for working with the `aws-sdk-go/service/cloudfront` package.

go-aws-cloudfront Go package providing opinionated tools and methods for working with the aws-sdk-go/service/cloudfront package. Documentation Tools $

Feb 2, 2022
The Fabric Token SDK is a set of API and services that lets developers create token-based distributed application on Hyperledger Fabric.

The Fabric Token SDK is a set of API and services that let developers create token-based distributed application on Hyperledger Fabric.

Dec 14, 2022
A package for access aws service using AWS SDK for Golang

goaws ?? A package for access aws service using AWS SDK for Golang Advantage with goaws package Example for get user list IAM with AWS SDK for Golang

Nov 25, 2021
Package anko provides a golang SDK to the Anko Investor Forecasts gRPC service.

github.com/anglo-korean/anko-go-sdk Package anko provides a golang SDK to the Anko Investor Forecasts gRPC service. import "github.com/anglo-korean/an

Jan 3, 2022
A SDK development package developed in go language and connected to dechain

Platform introduction Dechain go SDK is a SDK development package developed in go language and connected to dechain. This SDK can be provided to go cl

Dec 14, 2021