internal/

directory
v1.4.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0

Directories

Path Synopsis
Package alloycli is the entrypoint for Grafana Alloy.
Package alloycli is the entrypoint for Grafana Alloy.
cmd
alloy-service
Command alloy-service is a Windows binary which manages Alloy as a Windows service.
Command alloy-service is a Windows binary which manages Alloy as a Windows service.
alloylint
Command alloylint provides custom linting utilities for the grafana/alloy repo.
Command alloylint provides custom linting utilities for the grafana/alloy repo.
alloylint/internal/findcomponents
Package findcomponents exposes an Analyzer which ensures that created components are imported by a registry package.
Package findcomponents exposes an Analyzer which ensures that created components are imported by a registry package.
alloylint/internal/syntaxtags
Package syntaxtags exposes an Analyzer which lints Alloy syntax tags.
Package syntaxtags exposes an Analyzer which lints Alloy syntax tags.
listcomponents
Command listcomponents dumps the list of known Alloy components with their stability.
Command listcomponents dumps the list of known Alloy components with their stability.
Package component describes the interfaces which components implement.
Package component describes the interfaces which components implement.
all
Package all imports all known component packages.
Package all imports all known component packages.
common/config
Package config contains types from github.com/prometheus/common/config, but modifies them to be serializable with Alloy.
Package config contains types from github.com/prometheus/common/config, but modifies them to be serializable with Alloy.
common/net
Package http contains a Alloy-serializable definition of the dskit config in https://github.com/grafana/dskit/blob/main/server/server.go#L72.
Package http contains a Alloy-serializable definition of the dskit config in https://github.com/grafana/dskit/blob/main/server/server.go#L72.
discovery/docker
Package docker implements the discovery.docker component.
Package docker implements the discovery.docker component.
discovery/gce
Package gce implements the discovery.gce component.
Package gce implements the discovery.gce component.
discovery/kubelet
Package kubelet implements a discovery.kubelet component.
Package kubelet implements a discovery.kubelet component.
discovery/kubernetes
Package kubernetes implements a discovery.kubernetes component.
Package kubernetes implements a discovery.kubernetes component.
loki/process
The code in this package is adapted/ported over from grafana/loki/clients/pkg/logentry.
The code in this package is adapted/ported over from grafana/loki/clients/pkg/logentry.
loki/source/kubernetes
Package kubernetes implements the loki.source.kubernetes component.
Package kubernetes implements the loki.source.kubernetes component.
loki/source/kubernetes/kubetail
Package kubetail implements a log file tailer using the Kubernetes API.
Package kubetail implements a log file tailer using the Kubernetes API.
loki/source/kubernetes_events
Package kubernetes_events implements the loki.source.kubernetes_events component.
Package kubernetes_events implements the loki.source.kubernetes_events component.
otelcol/auth
Package auth provides utilities to create an Alloy component from OpenTelemetry Collector authentication extensions.
Package auth provides utilities to create an Alloy component from OpenTelemetry Collector authentication extensions.
otelcol/auth/basic
Package basic provides an otelcol.auth.basic component.
Package basic provides an otelcol.auth.basic component.
otelcol/auth/bearer
Package bearer provides an otelcol.auth.bearer component.
Package bearer provides an otelcol.auth.bearer component.
otelcol/auth/headers
Package headers provides an otelcol.auth.headers component.
Package headers provides an otelcol.auth.headers component.
otelcol/connector
Package connector exposes utilities to create an Alloy component from OpenTelemetry Collector connectors.
Package connector exposes utilities to create an Alloy component from OpenTelemetry Collector connectors.
otelcol/connector/host_info
Package host_info provides an otelcol.connector.host_info component.
Package host_info provides an otelcol.connector.host_info component.
otelcol/connector/spanlogs
Package spanlogs provides an otelcol.connector.spanlogs component.
Package spanlogs provides an otelcol.connector.spanlogs component.
otelcol/connector/spanmetrics
Package spanmetrics provides an otelcol.connector.spanmetrics component.
Package spanmetrics provides an otelcol.connector.spanmetrics component.
otelcol/exporter
Package exporter exposes utilities to create an Alloy component from OpenTelemetry Collector exporters.
Package exporter exposes utilities to create an Alloy component from OpenTelemetry Collector exporters.
otelcol/exporter/awss3
Package awss3 provides an otelcol.exporter.awss3 component
Package awss3 provides an otelcol.exporter.awss3 component
otelcol/exporter/kafka
Package kafka provides an otelcol.exporter.kafka component.
Package kafka provides an otelcol.exporter.kafka component.
otelcol/exporter/loadbalancing
Package loadbalancing provides an otelcol.exporter.loadbalancing component.
Package loadbalancing provides an otelcol.exporter.loadbalancing component.
otelcol/exporter/logging
Package logging provides an otelcol.exporter.logging component.
Package logging provides an otelcol.exporter.logging component.
otelcol/exporter/loki
Package loki provides an otelcol.exporter.loki component.
Package loki provides an otelcol.exporter.loki component.
otelcol/exporter/loki/internal/convert
Package convert implements conversion utilities to convert between OpenTelemetry Collector and Loki data.
Package convert implements conversion utilities to convert between OpenTelemetry Collector and Loki data.
otelcol/exporter/otlp
Package otlp provides an otelcol.exporter.otlp component.
Package otlp provides an otelcol.exporter.otlp component.
otelcol/exporter/otlphttp
Package otlphttp provides an otelcol.exporter.otlphttp component.
Package otlphttp provides an otelcol.exporter.otlphttp component.
otelcol/exporter/prometheus
Package prometheus provides an otelcol.exporter.prometheus component.
Package prometheus provides an otelcol.exporter.prometheus component.
otelcol/exporter/prometheus/internal/convert
Package convert implements conversion utilities to convert between OpenTelemetry Collector data and Prometheus data.
Package convert implements conversion utilities to convert between OpenTelemetry Collector data and Prometheus data.
otelcol/extension
Package extension provides utilities to create an Alloy component from OpenTelemetry Collector extensions.
Package extension provides utilities to create an Alloy component from OpenTelemetry Collector extensions.
otelcol/internal/lazyconsumer
Package lazyconsumer implements a lazy OpenTelemetry Collector consumer which can lazily forward request to another consumer implementation.
Package lazyconsumer implements a lazy OpenTelemetry Collector consumer which can lazily forward request to another consumer implementation.
otelcol/internal/livedebuggingconsumer
Package livedebuggingconsumer implements an OpenTelemetry Collector consumer which can be used to send live debugging data to Alloy UI.
Package livedebuggingconsumer implements an OpenTelemetry Collector consumer which can be used to send live debugging data to Alloy UI.
otelcol/internal/scheduler
Package scheduler exposes utilities for scheduling and running OpenTelemetry Collector components.
Package scheduler exposes utilities for scheduling and running OpenTelemetry Collector components.
otelcol/processor
Package processor exposes utilities to create an Alloy component from OpenTelemetry Collector processors.
Package processor exposes utilities to create an Alloy component from OpenTelemetry Collector processors.
otelcol/processor/attributes
Package attributes provides an otelcol.processor.attributes component.
Package attributes provides an otelcol.processor.attributes component.
otelcol/processor/batch
Package batch provides an otelcol.processor.batch component.
Package batch provides an otelcol.processor.batch component.
otelcol/processor/deltatocumulative
Package deltatocumulative provides an otelcol.processor.deltatocumulative component.
Package deltatocumulative provides an otelcol.processor.deltatocumulative component.
otelcol/processor/discovery
Package discovery provides an otelcol.processor.discovery component.
Package discovery provides an otelcol.processor.discovery component.
otelcol/processor/interval
Package interval provides an otelcol.processor.interval component.
Package interval provides an otelcol.processor.interval component.
otelcol/processor/k8sattributes
Package attributes provides an otelcol.processor.k8sattributes component.
Package attributes provides an otelcol.processor.k8sattributes component.
otelcol/processor/memorylimiter
Package memorylimiter provides an otelcol.processor.memory_limiter component.
Package memorylimiter provides an otelcol.processor.memory_limiter component.
otelcol/processor/probabilistic_sampler
Package probabilistic_sampler provides an otelcol.processor.probabilistic_sampler component.
Package probabilistic_sampler provides an otelcol.processor.probabilistic_sampler component.
otelcol/processor/span
Package span provides an otelcol.processor.span component.
Package span provides an otelcol.processor.span component.
otelcol/processor/tail_sampling
Package tail_sampling provides an otelcol.processor.tail_sampling component.
Package tail_sampling provides an otelcol.processor.tail_sampling component.
otelcol/processor/transform
Package transform provides an otelcol.processor.transform component.
Package transform provides an otelcol.processor.transform component.
otelcol/receiver
Package receiver utilities to create an Alloy component from OpenTelemetry Collector receivers.
Package receiver utilities to create an Alloy component from OpenTelemetry Collector receivers.
otelcol/receiver/datadog
Package datadog provides an otelcol.receiver.datadog component.
Package datadog provides an otelcol.receiver.datadog component.
otelcol/receiver/file_stats
Package file_stats provides an otelcol.receiver.file_stats component.
Package file_stats provides an otelcol.receiver.file_stats component.
otelcol/receiver/jaeger
Package jaeger provides an otelcol.receiver.jaeger component.
Package jaeger provides an otelcol.receiver.jaeger component.
otelcol/receiver/kafka
Package kafka provides an otelcol.receiver.kafka component.
Package kafka provides an otelcol.receiver.kafka component.
otelcol/receiver/loki
Package loki provides an otelcol.receiver.loki component.
Package loki provides an otelcol.receiver.loki component.
otelcol/receiver/opencensus
Package opencensus provides an otelcol.receiver.opencensus component.
Package opencensus provides an otelcol.receiver.opencensus component.
otelcol/receiver/otlp
Package otlp provides an otelcol.receiver.otlp component.
Package otlp provides an otelcol.receiver.otlp component.
otelcol/receiver/prometheus
Package prometheus provides an otelcol.receiver.prometheus component.
Package prometheus provides an otelcol.receiver.prometheus component.
otelcol/receiver/prometheus/internal
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal.
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal.
otelcol/receiver/vcenter
Package vcenter provides an otelcol.receiver.vcenter component.
Package vcenter provides an otelcol.receiver.vcenter component.
otelcol/receiver/zipkin
Package zipkin provides an otelcol.receiver.zipkin component.
Package zipkin provides an otelcol.receiver.zipkin component.
pyroscope/scrape/internal/fastdelta
Package fastdelta tries to match up samples between two pprof profiles and take their difference.
Package fastdelta tries to match up samples between two pprof profiles and take their difference.
pyroscope/scrape/internal/pproflite
Package pproflite implements zero-allocation pprof encoding and decoding.
Package pproflite implements zero-allocation pprof encoding and decoding.
remote/http
Package http implements the remote.http component.
Package http implements the remote.http component.
remote/kubernetes
Package kubernetes implements the logic for remote.kubernetes.secret and remote.kubernetes.configmap component.
Package kubernetes implements the logic for remote.kubernetes.secret and remote.kubernetes.configmap component.
Package converter exposes utilities to convert config files from other programs to Grafana Alloy configurations.
Package converter exposes utilities to convert config files from other programs to Grafana Alloy configurations.
diag
Package diag exposes error types used throughout converter and a method to pretty-print them to the screen.
Package diag exposes error types used throughout converter and a method to pretty-print them to the screen.
Package featuregate provides a way to gate features in the collector based on different options, such as the feature's stability level and user-defined minimum allowed stability level.
Package featuregate provides a way to gate features in the collector based on different options, such as the feature's stability level and user-defined minimum allowed stability level.
loki
mimir
Package runner provides an API for generic goroutine scheduling.
Package runner provides an API for generic goroutine scheduling.
Package runtime implements the Alloy component graph system.
Package runtime implements the Alloy component graph system.
componenttest
Package componenttest provides utilities for testing components.
Package componenttest provides utilities for testing components.
internal/dag
Package dag defines a Directed Acyclic Graph.
Package dag defines a Directed Acyclic Graph.
internal/testcomponents
Package testcomponents contains components useful for testing.
Package testcomponents contains components useful for testing.
internal/testcomponents/module/git
Package git implements the module.git component.
Package git implements the module.git component.
internal/testservices
Package testservices contains services useful for testing.
Package testservices contains services useful for testing.
tracing
Package tracing implements the tracing subsystem of Grafana Alloy.
Package tracing implements the tracing subsystem of Grafana Alloy.
tracing/internal/jaegerremote
Package jaegerremote implements the Jaeger Remote protocol.
Package jaegerremote implements the Jaeger Remote protocol.
Package service defines a pluggable service.
Package service defines a pluggable service.
cluster
Package cluster implements the cluster service, where multiple instances of Alloy connect to each other for work distribution.
Package cluster implements the cluster service, where multiple instances of Alloy connect to each other for work distribution.
http
Package http implements the HTTP service.
Package http implements the HTTP service.
livedebugging
This service provides debug stream APIs for components.
This service provides debug stream APIs for components.
otel
Package otel implements the otel service.
Package otel implements the otel service.
ui
Package ui implements the UI service.
Package ui implements the UI service.
static
config/features
Package features enables a way to encode enabled features in a flag.FlagSet.
Package features enables a way to encode enabled features in a flag.FlagSet.
integrations/agent
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
integrations/apache_http
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
integrations/config
Package config provides common configuration structs shared among implementations of integrations.Integration.
Package config provides common configuration structs shared among implementations of integrations.Integration.
integrations/consul_exporter
Package consul_exporter embeds https://github.com/prometheus/consul_exporter
Package consul_exporter embeds https://github.com/prometheus/consul_exporter
integrations/dnsmasq_exporter
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter
integrations/elasticsearch_exporter
Package elasticsearch_exporter instantiates the exporter from github.com/justwatchcom/elasticsearch_exporter - replaced for github.com/prometheus-community/elasticsearch_exporter Using the YAML config provided by the agent
Package elasticsearch_exporter instantiates the exporter from github.com/justwatchcom/elasticsearch_exporter - replaced for github.com/prometheus-community/elasticsearch_exporter Using the YAML config provided by the agent
integrations/install
Package install registers all in-source integrations for use.
Package install registers all in-source integrations for use.
integrations/memcached_exporter
Package memcached_exporter embeds https://github.com/google/memcached_exporter
Package memcached_exporter embeds https://github.com/google/memcached_exporter
integrations/mysqld_exporter
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter
integrations/postgres_exporter
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter
integrations/process_exporter
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
integrations/redis_exporter
Package redis_exporter embeds https://github.com/oliver006/redis_exporter
Package redis_exporter embeds https://github.com/oliver006/redis_exporter
integrations/snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
integrations/statsd_exporter
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter
integrations/v2
Package integrations provides a way to run and manage Grafana Agent "integrations," which integrate some external system (such as MySQL) to Grafana Agent's existing metrics, logging, and tracing subsystems.
Package integrations provides a way to run and manage Grafana Agent "integrations," which integrate some external system (such as MySQL) to Grafana Agent's existing metrics, logging, and tracing subsystems.
integrations/v2/agent
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
integrations/v2/apache_http
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
integrations/v2/autoscrape
Package autoscrape implements a scraper for integrations.
Package autoscrape implements a scraper for integrations.
integrations/v2/snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
logs
Package logs holds types for the logging subsystem of Grafana Agent static mode.
Package logs holds types for the logging subsystem of Grafana Agent static mode.
metrics
Package metrics implements a Prometheus-lite client for service discovery, scraping metrics into a WAL, and remote_write.
Package metrics implements a Prometheus-lite client for service discovery, scraping metrics into a WAL, and remote_write.
metrics/instance
Package instance provides a mini Prometheus scraper and remote_writer.
Package instance provides a mini Prometheus scraper and remote_writer.
server
Package server implements the HTTP and gRPC server used throughout Grafana Agent Static.
Package server implements the HTTP and gRPC server used throughout Grafana Agent Static.
tools
package useragent provides a consistent way to get a user agent for outbound http requests from Grafana Alloy.
package useragent provides a consistent way to get a user agent for outbound http requests from Grafana Alloy.
assertmetrics
Package assertmetrics provides utilities for verifying Prometheus metrics in tests given a Registry.
Package assertmetrics provides utilities for verifying Prometheus metrics in tests given a Registry.
log
testappender
Package testappender exposes utilities to test code which writes to Prometheus storage.Appenders.
Package testappender exposes utilities to test code which writes to Prometheus storage.Appenders.
zapadapter
Package zapadapter allows github.com/go-kit/log to be used as a Zap core.
Package zapadapter allows github.com/go-kit/log to be used as a Zap core.
web
api
Package api implements the HTTP API used for the Grafana Alloy UI.
Package api implements the HTTP API used for the Grafana Alloy UI.
ui
Package ui exposes utilities to get a Handler for the Grafana Alloy UI.
Package ui exposes utilities to get a Handler for the Grafana Alloy UI.

Jump to

Keyboard shortcuts

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