package
0.0.0-20241107083057-ebaecf6e9ecd
Repository: https://github.com/middleware-labs/mw-agent.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetAPIURLForSyntheticMonitoring constructs the WebSocket URL for synthetic monitoring.
No description provided by the author
NewHostAgent returns new agent for Kubernetes with given options.
NewKubeAgent returns new agent for Kubernetes with given options.
NewKubeAgentMonitor returns new agent monitor for Kubernetes with given options.
No description provided by the author
WithHostAgentIsECSEC2 sets whether the agent is running on AWS ECS with EC2 infrastructure.
WithHostAgentVersion sets the agent version.
WithHostAgentLogger sets the logger to be used with agent logs.
WithKubeAgentLogger sets the logger to be used with agent logs.
WithKubeAgentMonitorAgentNamespace sets the namespace where the agent is running.
WithKubeAgentMonitorClusterName sets the cluster name.
WithKubeAgentMonitorDaemonset sets the daemonset name for the agent.
WithKubeAgentMonitorDaemonsetConfigMap sets the configmap name for the agent daemonset.
WithKubeAgentMonitorDeployment sets the deployment name for the agent.
WithKubeAgentMonitorDeploymentConfigMap sets the configmap name for the agent deployment.
WithKubeAgentMonitorVersion sets the agent version.

# Constants

Otel config components.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Otel config components.
No description provided by the author
No description provided by the author
Otel config components.
No description provided by the author
Otel config components.
No description provided by the author
Otel config components.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InfraPlatformECSEC2 is for AWS ECS EC2 platform.
InfraPlatformECSFargate is for AWS ECS Fargate platform.
InfraPlatformInstance is for bare metal or VM platform.
InfraPlatformKubernetes is for Kubernetes platform.

# Structs

No description provided by the author
BaseConfig stores general configuration for all agent types.
HostAgent implements Agent interface for Hosts (e.g Linux).
HostConfig stores configuration for all the host agent.
KubeAgent implements Agent interface for Kubernetes.
No description provided by the author
No description provided by the author
KubeConfig stores configuration for all the host agent.
No description provided by the author

# Interfaces

Agent interface provides common methods for different agents like host agent (Linux, Windows) & Kubernetes.

# Type aliases

No description provided by the author
HostOptions takes in various options for HostAgent.
InfraPlatform defines the agent's infrastructure platform.
IntegrationType represents the type of the database.
KubeAgentMonitorOptions takes in various options for KubeAgentMonitor.
KubeOptions takes in various options for KubeAgent.