core: Index | Files | Directories

package stats

import ""


Package Files

config.go config.pb.go errors.generated.go stats.go

type Config Uses

type Config struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`

func (*Config) Descriptor Uses

func (*Config) Descriptor() ([]byte, []int)

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

type Counter Uses

type Counter struct {
    // contains filtered or unexported fields

Counter is an implementation of stats.Counter.

func (*Counter) Add Uses

func (c *Counter) Add(delta int64) int64

Add implements stats.Counter.

func (*Counter) Set Uses

func (c *Counter) Set(newValue int64) int64

Set implements stats.Counter.

func (*Counter) Value Uses

func (c *Counter) Value() int64

Value implements stats.Counter.

type Manager Uses

type Manager struct {
    // contains filtered or unexported fields

Manager is an implementation of stats.Manager.

func NewManager Uses

func NewManager(ctx context.Context, config *Config) (*Manager, error)

func (*Manager) Close Uses

func (m *Manager) Close() error

Close implement common.Closable.

func (*Manager) GetCounter Uses

func (m *Manager) GetCounter(name string) stats.Counter

func (*Manager) RegisterCounter Uses

func (m *Manager) RegisterCounter(name string) (stats.Counter, error)

func (*Manager) Start Uses

func (m *Manager) Start() error

Start implements common.Runnable.

func (*Manager) Type Uses

func (*Manager) Type() interface{}

func (*Manager) Visit Uses

func (m *Manager) Visit(visitor func(string, stats.Counter) bool)



Package stats imports 9 packages (graph) and is imported by 7 packages. Updated 2019-07-24. Refresh now. Tools for package owners.