Versions in this module Expand all Collapse all v0 v0.3.7 Jun 5, 2024 Changes in this version + func ExtractAddress(addr string) (host, port string) + func GetProtoSize(p any) int + func ParseFullMethod(fullMethod string) []attribute.KeyValue + type Meter struct + func NewMeter(hostName string, opts ...Option) Meter + func (m *Meter) GetAttributes() []attribute.KeyValue + func (m *Meter) RecordStream(ctx context.Context, start time.Time, method string, err error) + func (m *Meter) RecordUnary(ctx context.Context, p UnaryParams) + func (m *Meter) StreamClientInterceptor() grpc.StreamClientInterceptor + func (m *Meter) UnaryClientInterceptor() grpc.UnaryClientInterceptor + type MeterOpts struct + type Option func(*MeterOpts) + func WithMeterName(meterName string) Option + type UnaryParams struct + Err error + Method string + Req any + Res any + Start time.Time