model {

    extend edp {
        container monitoring 'Monitoring' {
            description 'Observability system to monitor deployed components'

            component alloy 'Alloy' {
                description 'Open Telemetry Collector'

                style {
                    icon tech:grafana
                    multiple true
                }
            }

            container loki 'Loki' {
                description 'Log aggregation system'
                icon tech:grafana

                component queryFrontend 'Query Frontend'
                component distributor 'Distributor'
                component gateway 'Gateway'
                component ingestor 'Ingestor'
                component querier 'Querier'

                alloy -> distributor 'pushes logs'
            }
        }
    }
}