Skip to content

Commit

Permalink
[chore] Update ocb README.md to v0.109.0 (#11170)
Browse files Browse the repository at this point in the history
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
update builder readme to reflect latest version number

<!--Describe the documentation added.-->
#### Documentation
README.md

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Bogdan Drutu <[email protected]>
Co-authored-by: Pablo Baeyens <[email protected]>
  • Loading branch information
3 people authored Sep 17, 2024
1 parent 1339c01 commit 792a401
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions cmd/builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@ This program generates a custom OpenTelemetry Collector binary based on a given
## TL;DR

```console
$ go install go.opentelemetry.io/collector/cmd/builder@v0.107.0
$ go install go.opentelemetry.io/collector/cmd/builder@v0.109.0
$ cat > otelcol-builder.yaml <<EOF
dist:
name: otelcol-custom
description: Local OpenTelemetry Collector binary
output_path: /tmp/dist
exporters:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.107.0
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.107.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.109.0
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.109.0

receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.107.0
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.109.0

processors:
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.107.0

- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.109.0

providers:
- gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v1.15.0
- gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.15.0
- gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.109.0
- gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.109.0
- gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.109.0
EOF
$ builder --config=otelcol-builder.yaml
$ cat > /tmp/otelcol.yaml <<EOF
Expand Down Expand Up @@ -176,4 +182,4 @@ file for the following things after `go get`ing all components and calling

The `--skip-strict-versioning` flag disables these versioning checks.
This flag is available temporarily and
**will be removed in a future minor version**.
**will be removed in a future minor version**.

0 comments on commit 792a401

Please sign in to comment.