Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsCollector ¶
AppsCollector collects Koyeb Apps metrics
func NewAppsCollector ¶
func NewAppsCollector(ctx context.Context, client *koyeb.APIClient) *AppsCollector
NewAppsCollector is a function that creates a new AppsCollector
func (*AppsCollector) Collect ¶
func (c *AppsCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*AppsCollector) Describe ¶
func (c *AppsCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type CredentialsCollector ¶
type CredentialsCollector struct { Ctx context.Context Client *koyeb.APIClient Up *prometheus.Desc }
CredentialsCollector collects Koyeb Credentials metrics
func NewCredentialsCollector ¶
func NewCredentialsCollector(ctx context.Context, client *koyeb.APIClient) *CredentialsCollector
NewCredentialsCollector is a function that creates a new CredentialsCollector
func (*CredentialsCollector) Collect ¶
func (c *CredentialsCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*CredentialsCollector) Describe ¶
func (c *CredentialsCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type DeploymentsCollector ¶
type DeploymentsCollector struct { Ctx context.Context Client *koyeb.APIClient Up *prometheus.Desc }
DeploymentsCollector collects Koyeb Deployments metrics
func NewDeploymentsCollector ¶
func NewDeploymentsCollector(ctx context.Context, client *koyeb.APIClient) *DeploymentsCollector
NewDeploymentsCollector is a function that creates a new DeploymentsCollector
func (*DeploymentsCollector) Collect ¶
func (c *DeploymentsCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*DeploymentsCollector) Describe ¶
func (c *DeploymentsCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type DomainsCollector ¶
DomainsCollector collects Koyeb Domains metrics
func NewDomainsCollector ¶
func NewDomainsCollector(ctx context.Context, client *koyeb.APIClient) *DomainsCollector
NewDomainsCollector is a function that creates a new DomainsCollector
func (*DomainsCollector) Collect ¶
func (c *DomainsCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*DomainsCollector) Describe ¶
func (c *DomainsCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type ExporterCollector ¶
type ExporterCollector struct { StartTime *prometheus.Desc BuildInfo *prometheus.Desc // contains filtered or unexported fields }
ExporterCollector collects metrics, mostly runtime, about this exporter in general.
func NewExporterCollector ¶
func NewExporterCollector(osVersion, goVersion, gitCommit string, startTime int64) *ExporterCollector
NewExporterCollector returns a new ExporterCollector.
func (*ExporterCollector) Collect ¶
func (c *ExporterCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*ExporterCollector) Describe ¶
func (c *ExporterCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type InstancesCollector ¶
InstancesCollector collects Koyeb Apps metrics
func NewInstancesCollector ¶
func NewInstancesCollector(ctx context.Context, client *koyeb.APIClient) *InstancesCollector
NewInstancesCollector is a function that creates a new InstancesCollector
func (*InstancesCollector) Collect ¶
func (c *InstancesCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*InstancesCollector) Describe ¶
func (c *InstancesCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type SecretsCollector ¶
SecretsCollector collects Koyeb Secrets metrics
func NewSecretsCollector ¶
func NewSecretsCollector(ctx context.Context, client *koyeb.APIClient) *SecretsCollector
NewSecretsCollector is a function that creates a new SecretsCollector
func (*SecretsCollector) Collect ¶
func (c *SecretsCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*SecretsCollector) Describe ¶
func (c *SecretsCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics
type ServicesCollector ¶
ServicesCollector collects Koyeb Services metrics
func NewServicesCollector ¶
func NewServicesCollector(ctx context.Context, client *koyeb.APIClient) *ServicesCollector
NewServicesCollector is a function that creates a new ServicesCollector
func (*ServicesCollector) Collect ¶
func (c *ServicesCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus' Collector interface and is used to collect metrics
func (*ServicesCollector) Describe ¶
func (c *ServicesCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus' Collector interface and is used to describe metrics