import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from "@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta"; import { IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1IntegrationSpec } from "./IntegrationSpec.js"; import { ModelData, TypeMeta, Model } from "@kubernetes-models/base"; /** * Integration runs a single Grafana Agent integration. Integrations that * generate telemetry must be configured to send that telemetry somewhere, such * as autoscrape for exporter-based integrations. * * Integrations have access to the LogsInstances and MetricsInstances in the * same GrafanaAgent resource set, referenced by the / of the * Instance resource. * * For example, if there is a default/production MetricsInstance, you can * configure a supported integration's autoscrape block with: * * autoscrape: * enable: true * metrics_instance: default/production * * There is currently no way for telemetry created by an Operator-managed * integration to be collected from outside of the integration itself. */ export interface IIntegration extends TypeMeta { "apiVersion": "monitoring.grafana.com/v1alpha1"; "kind": "Integration"; "metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * Specifies the desired behavior of the Integration. */ "spec"?: IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1IntegrationSpec; } /** * Integration runs a single Grafana Agent integration. Integrations that * generate telemetry must be configured to send that telemetry somewhere, such * as autoscrape for exporter-based integrations. * * Integrations have access to the LogsInstances and MetricsInstances in the * same GrafanaAgent resource set, referenced by the / of the * Instance resource. * * For example, if there is a default/production MetricsInstance, you can * configure a supported integration's autoscrape block with: * * autoscrape: * enable: true * metrics_instance: default/production * * There is currently no way for telemetry created by an Operator-managed * integration to be collected from outside of the integration itself. */ export declare class Integration extends Model implements IIntegration { "apiVersion": "monitoring.grafana.com/v1alpha1"; "kind": "Integration"; "metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta; "spec"?: IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1IntegrationSpec; static apiVersion: IIntegration["apiVersion"]; static kind: IIntegration["kind"]; static is: import("@kubernetes-models/base").TypeMetaGuard; constructor(data?: ModelData); } export type { IIntegration as IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1Integration, Integration as ComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1Integration };