This repository is focused on building and packaging the OpenTelemetry Collector for use with Google Cloud Monitoring.
To generate a tarball archive that includes the OpenTelemetry binary and a configuration file compatible with Google Cloud Monitoring:
- Run
make build-tarball
- The tarball file will be generated in the
dist
folder
To generate an MSI that will install OpenTelemetry as a Windows service using a configuration file compatible with Google Cloud Monitoring:
- Run
.build\msi\make.ps1 Install-Tools
to install the open source WIX Toolset - Run
.build\msi\make.ps1 New-MSI
- The MSI file will be generated in the
dist
folder
Alternatively, you can generate a googet package by running make build-googet
. This is the packaging method used to install the Collector on Windows GCE VMs.
You can also run the build commands inside docker:
- Run
make docker-build-image
to build the docker image. This will generate an image calledotelopscol-build
- Run
make TARGET=build-<package> docker-run
- The specified package will be generated in the
dist
folder