Documentation
¶
Overview ¶
Package postgres contains the aws/postgres Agent E2E scenario: a single EC2 host running the host-installed Datadog Agent plus a PostgreSQL 16 Docker workload that the postgres integration monitors over TCP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx *pulumi.Context, awsEnv aws.Environment, env outputs.HostOutputs, params *Params) error
Run provisions the aws/postgres environment: an EC2 host with Docker, a PostgreSQL 16 + workload Compose stack, and the host-installed Datadog Agent configured with the postgres integration pointed at localhost:5432.
Types ¶
type Option ¶
Option mutates Params.
func WithAgentOptions ¶
func WithAgentOptions(opts ...agentparams.Option) Option
WithAgentOptions appends host Agent options.
func WithEC2VMOptions ¶
WithEC2VMOptions appends EC2 VM options.
func WithInstanceType ¶
WithInstanceType overrides the EC2 instance type.
type Params ¶
type Params struct {
Name string
// contains filtered or unexported fields
}
Params contains the parameters for the aws/postgres scenario.
func ParamsFromEnvironment ¶
func ParamsFromEnvironment(e aws.Environment) *Params
ParamsFromEnvironment builds Params from the AWS environment ConfigMap flags, mirroring the conventions used by the aws/dockervm and aws/vm scenarios.