diff --git a/distributions/otelcol-mackerel/README.md b/distributions/otelcol-mackerel/README.md index 25c2143..37ba498 100644 --- a/distributions/otelcol-mackerel/README.md +++ b/distributions/otelcol-mackerel/README.md @@ -30,6 +30,13 @@ $ docker run -e MACKEREL_APIKEY=your_api_key mackerel/otelcol-mackerel:latest ### Linux (deb Package) +```sh +curl -fsSL https://mackerel.io/file/script/opentelemetry-collector-mackerel/setup-apt.sh | MACKEREL_APIKEY='' sh +``` + +
+Manual installation + ```console $ # Get the asset URL for the corresponding architecture from the GitHub release page. $ sudo apt install https://github.com/mackerelio/opentelemetry-collector-mackerel/releases/download/v0.2.0/otelcol-mackerel_0.2.0_linux_amd64.deb @@ -47,8 +54,17 @@ $ sudo systemctl status otelcol-mackerel.service --no-pager --lines=0 └─30011 /usr/bin/otelcol-mackerel --config=mackerel:default ``` +
+ ### Linux (rpm Package) +```sh +curl -fsSL https://mackerel.io/file/script/opentelemetry-collector-mackerel/setup-yum.sh | MACKEREL_APIKEY='' sh +``` + +
+Manual installation + ```console $ # Get the asset URL for the corresponding architecture from the GitHub release page. $ sudo apt install https://github.com/mackerelio/opentelemetry-collector-mackerel/releases/download/v0.2.0/otelcol-mackerel_0.2.0_linux_amd64.rpm @@ -66,6 +82,8 @@ $ sudo systemctl status otelcol-mackerel.service --no-pager --lines=0 └─30011 /usr/bin/otelcol-mackerel --config=mackerel:default ``` +
+ ## Options You can modify the config from the default by setting additional environment variables.