exporter

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Copyright © 2023 Oluwole Fadeyi (oluwolefadeyi@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, opts ...Option) *exporter

New returns an instance of the exporter

Types

type Option

type Option func(e *exporter)

func AutoTLS

func AutoTLS(t bool) Option

func CertFile

func CertFile(filename string) Option

func Client

func Client(client client.Client) Option

func DisableTLS

func DisableTLS(t bool) Option

func DisableUserMetrics added in v0.3.0

func DisableUserMetrics(flag bool) Option

func From

func From(time time.Time) Option

func KeyFile

func KeyFile(filename string) Option

func Logger

func Logger(l logging.Logger) Option

Logger for the exporter

func MetricsAddr

func MetricsAddr(addr string) Option

func Namespace

func Namespace(namespace string) Option

func Port

func Port(port int) Option

func ProbeAddr

func ProbeAddr(addr string) Option

func ProbePort

func ProbePort(port int) Option

func Profiling

func Profiling(p bool) Option

func ProfilingPort

func ProfilingPort(port int) Option

func RequestTimeout added in v0.4.0

func RequestTimeout(timeout time.Duration) Option

func Subsystem

func Subsystem(sub string) Option

func TLSHosts

func TLSHosts(hosts []string) Option

Directories

Path Synopsis
Package operations contains all the handlers to convert Auth0 log events (https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes) into prometheus metrics https://docs.google.com/spreadsheets/d/13PsnaBS29mUIjis0HdrpnIrJ_L2rBl2m5dTeYGN46Ho/edit#gid=0
Package operations contains all the handlers to convert Auth0 log events (https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes) into prometheus metrics https://docs.google.com/spreadsheets/d/13PsnaBS29mUIjis0HdrpnIrJ_L2rBl2m5dTeYGN46Ho/edit#gid=0

Jump to

Keyboard shortcuts

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