Movatterモバイル変換


[0]ホーム

URL:


netconv

package
v1.39.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2025 License:Apache-2.0, BSD-3-ClauseImports:4Imported by:0

Details

Repository

github.com/open-telemetry/opentelemetry-go

Links

README

Semconv v1.20.0 NET conv

PkgGoDev

Documentation

Overview

Package netconv provides OpenTelemetry network semantic conventions fortracing telemetry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcClient

func Client(addressstring, connnet.Conn) []attribute.KeyValue

Client returns trace attributes for a client network connection to address.See net.Dial for information about acceptable address values, address shouldbe the same as the one used to create conn. If conn is nil, only networkpeer attributes will be returned that describe address. Otherwise, thesocket level information about conn will also be included.

funcServer

func Server(addressstring, lnnet.Listener) []attribute.KeyValue

Server returns trace attributes for a network listener listening at address.See net.Listen for information about acceptable address values, addressshould be the same as the one used to create ln. If ln is nil, only networkhost attributes will be returned that describe address. Otherwise, thesocket level information about ln will also be included.

funcTransport

func Transport(networkstring)attribute.KeyValue

Transport returns a trace attribute describing the transport protocol of thepassed network. See the net.Dial for information about acceptable networkvalues.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp