Documentation ¶
Index ¶
- func NewMeterProvider(exp metric.Exporter, res *resource.Resource) *metric.MeterProvider
- func NewMetricExporterConsole() (metric.Exporter, error)
- func NewPostgreSQL(cfg *pgx.ConnConfig) (*pgx.Conn, error)
- func NewPostgreSQLPool(cfg *pgxpool.Config) (*pgxpool.Pool, error)
- func NewTraceExporterConsole() (trace.SpanExporter, error)
- func NewTraceExporterOTLP(ctx context.Context, endpoint string) (*otlptrace.Exporter, error)
- func NewTracerProvider(exp trace.SpanExporter, res *resource.Resource) *trace.TracerProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMeterProvider ¶
func NewPostgreSQL ¶
func NewPostgreSQL(cfg *pgx.ConnConfig) (*pgx.Conn, error)
func NewTraceExporterConsole ¶
func NewTraceExporterConsole() (trace.SpanExporter, error)
func NewTraceExporterOTLP ¶
func NewTracerProvider ¶
func NewTracerProvider(exp trace.SpanExporter, res *resource.Resource) *trace.TracerProvider
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.