microsoft/Docker-Provider
Ruby
Captured source
source ↗microsoft/Docker-Provider
Description: Azure Monitor for Containers
Language: Ruby
License: NOASSERTION
Stars: 172
Forks: 115
Open issues: 6
Created: 2016-03-17T00:49:51Z
Pushed: 2026-06-17T05:20:55Z
Default branch: ci_prod
Fork: no
Archived: no
README:
About
This repository contains source code for Azure Monitor for containers Linux and Windows Agent
Questions?
Feel free to contact engineering team owners in case you have any questions about this repository or project.
Prerequisites
Common
- Visual Studio Code for authoring
- Go lang for building go code. Go lang version 1.18.3 (both Linux & Windows)
> Note: If you are using WSL2, make sure you have cloned the code onto ubuntu not onto windows
WSL2
- WSL2.
- configure Docker-for-windows-wsl2
Linux
- Ubuntu 14.04 or higher to build Linux Agent.
- Docker to build the docker image for Linux Agent
> Note: if you are using WSL2, you can ignore Docker since Docker for windows will be used.
Windows
- Windows 10 Professional machine to build Windows Agent
- Docker for Windows to build docker image for Windows Agent
- .NET Core SDK to build the Windows Agent code
- gcc for windows to build go code
Repo structure
The general directory structure is:
├── .pipelines/ - files related to azure devops ci and cd pipelines ├── build/ - files to related to compile and build the code │ ├── version - build version used for docker prvider and go shared object(so) files │ ├── common/ - common to both windows and linux installers │ │ ├── installer - files related to installer | | | |── scripts/ - script files related to configmap parsing │ ├── linux/ - Makefile and installer files for the Docker Provider │ │ ├── Makefile - Makefile to build the docker provider │ │ ├── installer - files related to installer | | | |── bundle/ - shell scripts to create shell bundle | | | |── conf/ - plugin configuration files | | | |── datafiles/ - data files for the installer | | | |── scripts/ - script files related to livenessproble, tomlparser etc.. | | | |── InstallBuilder/ - python script files for the install builder │ ├── windows/ - scripts to build the .net and go code | | |── Makefile.ps1 - powershell script to build .net and go lang code and copy the files to amalogswindows directory │ │ ├── installer - files related to installer | | | |── conf/ - fluent, fluentbit and out_oms plugin configuration files | | | |── scripts/ - script files related to livenessproble, filesystemwatcher, keepCertificateAlive etc.. | | | |── certificategenerator/ - .NET code for the generation self-signed certificate of the windows agent ├── charts/ - helm charts │ ├── azuremonitor-containers/ - azure monitor for containers helm chart used for non-AKS clusters ├── alerts/ - alert queries ├── kubernetes/ - files related to Linux and Windows Agent for Kubernetes │ ├── linux/ - scripts to build the Docker image for Linux Agent │ │ ├── dockerbuild - script to build docker provider, docker image and publish docker image │ │ ├── DockerFile.multiarch - DockerFile for Linux Agent Container Image │ │ ├── main.sh - Linux Agent container entry point │ │ ├── setup.sh - setup file for Linux Agent Container Image │ │ ├── acrworkflows/ - acr work flows for the Linux Agent container image │ │ ├── defaultpromenvvariables - default environment variables for Prometheus scraping │ │ ├── defaultpromenvvariables-rs - cluster level default environment variables for Prometheus scraping │ │ ├── defaultpromenvvariables-sidecar - cluster level default environment variables for Prometheus scraping in sidecar │ ├── windows/ - scripts to build the Docker image for Windows Agent │ │ ├── dockerbuild - script to build the code and docker imag, and publish docker image │ │ ├── acrworkflows/ - acr work flows for the Windows Agent container image │ │ ├── DockerFile - DockerFile for Windows Agent Container Image │ │ ├── main.ps1 - Windows Agent container entry point │ │ ├── setup.ps1 - setup file for Windows Agent Container Image │ ├── ama-logs.yaml - kubernetes yaml for both Linux and Windows Agent │ ├── container-azm-ms-agentconfig.yaml - kubernetes yaml for agent configuration ├── scripts/ - scripts for onboarding, troubleshooting and preview scripts related to Azure Monitor for containers │ ├── troubleshoot/ - scripts for troubleshooting of Azure Monitor for containers onboarding issues │ ├── onboarding/ - scripts related to Azure Monitor for containers onboarding. │ ├── preview/ - scripts related to preview features ... │ ├── build/ - scripts related to build such as installing pre-requisites etc. │ ├── deployment/ - scripts related to deployment goes here. │ ├── release/ - scripts related to release goes here. ├── source/ - source code │ ├── plugins/ - plugins source code │ │ ├── go/ - out_oms plugin code in go lang │ │ ├── ruby/ - plugins code in ruby │ │ | ├── health/ - code for health feature │ │ | ├── lib/ - lib for app insights ruby and this code of application_insights gem │ │ | ... - plugins in, out and filters code in ruby ├── test/ - source code for tests │ ├── e2e/ - e2e tests to validate agent and e2e workflow(s) │ ├── unit-tests/ - unit tests code │ ├── scenario/ - scenario tests code ├── !_README.md - this file ├── .gitignore - git config file with include/exclude file rules ├── LICENSE - License file ├── Rakefile - Rake file to trigger ruby plugin tests └── ReleaseProcess.md - Release process instructions └── ReleaseNotes.md - Release notes for the release of the Azure Monitor for containers agent
Branches
- We are using a single branch which has all the code in development and we will be releasing from this branch itself.
ci_prodbranch contains codebase version in development.
To contribute: create your private branch off of ci_prod, make changes and use pull request to merge back to ci_prod. Pull request must be approved by at least one engineering team members.
Authoring code
We recommend using Visual Studio Code for authoring. Windows 10 with Ubuntu App can be used for both Windows and Linux Agent...
Excerpt shown — open the source for the full document.
Notability
notability 4.0/10Utility repo, modest stars, not AI research.