metrics

package
v0.0.0-...-5e277a7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoreMetrics

func StoreMetrics(req *http.Request)

StoreMetrics for the given request

Types

type Metric

type Metric struct {
	GetCount         int64 `json:"get_count"`
	PostCount        int64 `json:"post_count"`
	PutCount         int64 `json:"put_count"`
	DeleteCount      int64 `json:"delete_count"`
	OtherCount       int64 `json:"other_count"`
	Count            int64 `json:"count"`
	AvgContentLength int64 `json:"avg_content_length"`
	MaxContentLength int64 `json:"max_content_length"`
	MinContentLength int64 `json:"min_content_length"`
}

Metric struct

Jump to

Keyboard shortcuts

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