Categorygithub.com/ydb-platform/ydb-go-sdk-prometheus/v2
modulepackage
2.0.2
Repository: https://github.com/ydb-platform/ydb-go-sdk-prometheus.git
Documentation: pkg.go.dev

# README

metrics

metrics package helps to create ydb-go-sdk traces with monitoring over prometheus

Usage

import (
    "github.com/ydb-platform/ydb-go-sdk/v3"
    ydbPrometheus "github.com/ydb-platform/ydb-go-sdk-prometheus"
)

...
    // init prometheus registry
	registry := prometheus.NewRegistry()

	db, err := ydb.Open(ctx,
		os.Getenv("YDB_CONNECTION_STRING"),
		ydbPrometheus.WithTraces(registry),
	)

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author