Documentation ¶
Index ¶
- Variables
- type HttpConfig
- func (c *HttpConfig) WithHttpConfig(conf HttpConfig) *HttpConfig
- func (c *HttpConfig) WithMethodIgnored(methodIgnoredMap map[string]bool) *HttpConfig
- func (c *HttpConfig) WithPathCleanUp(pathCleanUpMap map[*regexp.Regexp]string) *HttpConfig
- func (c *HttpConfig) WithPathIgnored(pathIgnoredMap map[string]bool) *HttpConfig
- func (c *HttpConfig) WithStatusIgnored(statusIgnoredMap map[int]bool) *HttpConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricIncomingHttpRequest *prometheus.HistogramVec MetricOutgoingHttpRequest *prometheus.HistogramVec )
Functions ¶
This section is empty.
Types ¶
type HttpConfig ¶ added in v1.1.2
type HttpConfig struct { PathCleanUpMap map[*regexp.Regexp]string PathIgnoredMap map[string]bool StatusIgnoredMap map[int]bool MethodIgnoreMap map[string]bool }
func NewDefaultIncomingHttpConfig ¶ added in v1.1.2
func NewDefaultIncomingHttpConfig() *HttpConfig
func NewDefaultOutgoingHttpConfig ¶ added in v1.1.2
func NewDefaultOutgoingHttpConfig() *HttpConfig
func NewEmptyHttpConfig ¶ added in v1.1.2
func NewEmptyHttpConfig() *HttpConfig
func NewHttpConfig ¶ added in v1.1.2
func (*HttpConfig) WithHttpConfig ¶ added in v1.1.2
func (c *HttpConfig) WithHttpConfig(conf HttpConfig) *HttpConfig
func (*HttpConfig) WithMethodIgnored ¶ added in v1.1.4
func (c *HttpConfig) WithMethodIgnored(methodIgnoredMap map[string]bool) *HttpConfig
func (*HttpConfig) WithPathCleanUp ¶ added in v1.1.2
func (c *HttpConfig) WithPathCleanUp(pathCleanUpMap map[*regexp.Regexp]string) *HttpConfig
func (*HttpConfig) WithPathIgnored ¶ added in v1.1.2
func (c *HttpConfig) WithPathIgnored(pathIgnoredMap map[string]bool) *HttpConfig
func (*HttpConfig) WithStatusIgnored ¶ added in v1.1.2
func (c *HttpConfig) WithStatusIgnored(statusIgnoredMap map[int]bool) *HttpConfig
Click to show internal directories.
Click to hide internal directories.