sentrygatherer

package
v0.0.0-...-45180c4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Token          string
	Organization   string
	APIBaseURL     string
	TickerInterval time.Duration
}

type SentryGatherer

type SentryGatherer struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options) (*SentryGatherer, error)

func (*SentryGatherer) Gather

func (g *SentryGatherer) Gather() ([]*dto.MetricFamily, error)

func (*SentryGatherer) Start

func (g *SentryGatherer) Start(ctx context.Context)

type SentryIssue

type SentryIssue struct {
	ShortID string `json:"shortId"`
}

type SentryOrganizationProject

type SentryOrganizationProject struct {
	Name string `json:"name"`
	Slug string `json:"slug"`
}

type SentryOrganizationTeam

type SentryOrganizationTeam struct{}

Jump to

Keyboard shortcuts

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