usage

package
v3.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

README

Usage

Usage captures usage telemetry from micro

Overview

Usage is a small net/http server backed by boltdb which captures micro usage telemetry

  • Runs on port :8091
  • Receives requests to /usage in proto format
  • Backed by boltdb for stateful storage

Usage

go run main.go

Documentation

Overview

Package usage tracks micro usage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(service string) *pb.Usage

New generates a new usage report to be filled in

func Plugin

func Plugin() plugin.Plugin

func Report

func Report(ug *pb.Usage) error

Report reports the current usage

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL