{"id":15177380,"url":"https://github.com/open-telemetry/opentelemetry-collector-builder","last_synced_at":"2026-01-15T00:56:36.260Z","repository":{"id":41369214,"uuid":"333592042","full_name":"open-telemetry/opentelemetry-collector-builder","owner":"open-telemetry","description":"A CLI tool that generates OpenTelemetry Collector binaries based on a manifest. ","archived":true,"fork":false,"pushed_at":"2021-10-29T15:49:29.000Z","size":89,"stargazers_count":56,"open_issues_count":0,"forks_count":33,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-10-30T00:41:10.061Z","etag":null,"topics":["hacktoberfest","opentelemetry","opentelemetry-collector"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-telemetry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-01-27T23:48:35.000Z","updated_at":"2024-11-29T14:50:37.000Z","dependencies_parsed_at":"2022-07-30T07:37:58.332Z","dependency_job_id":null,"html_url":"https://github.com/open-telemetry/opentelemetry-collector-builder","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/open-telemetry/opentelemetry-collector-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-telemetry%2Fopentelemetry-collector-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-telemetry%2Fopentelemetry-collector-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-telemetry%2Fopentelemetry-collector-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-telemetry%2Fopentelemetry-collector-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-telemetry","download_url":"https://codeload.github.com/open-telemetry/opentelemetry-collector-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-telemetry%2Fopentelemetry-collector-builder/sbom","scorecard":{"id":708565,"data":{"date":"2025-08-11","repo":{"name":"github.com/open-telemetry/opentelemetry-collector-builder","commit":"f64d0d214227428a7f3ed61d036d7ffbbbacf6e6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yaml:1","Warn: no topLevel permission defined: .github/workflows/integration-test.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/go.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-test.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/integration-test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-test.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/integration-test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/open-telemetry/opentelemetry-collector-builder/release.yml/main?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":8,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.37.0 not signed: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/51442749","Warn: release artifact v0.36.0 not signed: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/50651739","Warn: release artifact v0.35.0 not signed: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/49512039","Warn: release artifact v0.34.0 not signed: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/48867383","Warn: release artifact v0.33.0 not signed: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/48409257","Warn: release artifact v0.37.0 does not have provenance: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/51442749","Warn: release artifact v0.36.0 does not have provenance: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/50651739","Warn: release artifact v0.35.0 does not have provenance: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/49512039","Warn: release artifact v0.34.0 does not have provenance: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/48867383","Warn: release artifact v0.33.0 does not have provenance: https://api.github.com/repos/open-telemetry/opentelemetry-collector-builder/releases/48409257"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/open-telemetry/.github/SECURITY.md:1","Info: Found linked content: github.com/open-telemetry/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/open-telemetry/.github/SECURITY.md:1","Info: Found text in security policy: github.com/open-telemetry/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2020-0015 / GHSA-5rcv-m4m3-hfh7","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T07:28:18.867Z","repository_id":41369214,"created_at":"2025-08-22T07:28:18.867Z","updated_at":"2025-08-22T07:28:18.867Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28440977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","opentelemetry","opentelemetry-collector"],"created_at":"2024-09-27T14:21:50.806Z","updated_at":"2026-01-15T00:56:36.238Z","avatar_url":"https://github.com/open-telemetry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenTelemetry Collector builder\n[![CI](https://github.com/open-telemetry/opentelemetry-collector-builder/actions/workflows/go.yaml/badge.svg)](https://github.com/open-telemetry/opentelemetry-collector-builder/actions/workflows/go.yaml?query=branch%3Amain)\n\nThis program generates a custom OpenTelemetry Collector binary based on a given configuration.\n\n---\n__WARNING__ This repository is now deprecated. The builder has found a [new home inside the OpenTelemetry Collector core repository](https://github.com/open-telemetry/opentelemetry-collector/tree/main/cmd/builder).\n\n---\n## TL;DR\n```console\n$ GO111MODULE=on go get github.com/open-telemetry/opentelemetry-collector-builder\n$ cat \u003e ~/.otelcol-builder.yaml \u003c\u003cEOF\nexporters:\n  - gomod: \"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.37.0\"\nEOF\n$ opentelemetry-collector-builder --output-path=/tmp/dist\n$ cat \u003e /tmp/otelcol.yaml \u003c\u003cEOF\nreceivers:\n  otlp:\n    protocols:\n      grpc:\n        endpoint: localhost:4317\n\nprocessors:\n  batch:\n\nexporters:\n  logging:\n\nservice:\n  pipelines:\n    traces:\n      receivers:\n      - otlp\n      processors: \n      - batch\n      exporters:\n      - logging\nEOF\n$ /tmp/dist/otelcol-custom --config=/tmp/otelcol.yaml\n```\n\n## Installation\n\nDownload the binary for your respective platform under the [\"Releases\"](https://github.com/open-telemetry/opentelemetry-collector-builder/releases/latest) page.\n\n## Running\n\nA configuration file isn't strictly required, but the final artifact won't be different than a regular OpenTelemetry Collector. You probably want to specify at least one module (extension, exporter, receiver, processor) to add to your distribution. You can specify them via a configuration file. When no `--config` flag is provided with the location for the configuration file, `${HOME}/.otelcol-builder.yaml` will be used, if available.\n\n```console\n$ opentelemetry-collector-builder --config config.yaml\n```\n\nUse `opentelemetry-collector-builder --help` to learn about which flags are available.\n\n## Configuration\n\nThe configuration file is composed of two main parts: `dist` and module types. All `dist` options can be specified via command line flags:\n\n```console\n$ opentelemetry-collector-builder --name=\"my-otelcol\"\n```\n\nThe module types are specified at the top-level, and might be: `extensions`, `exporters`, `receivers` and `processors`. They all accept a list of components, and each component is required to have at least the `gomod` entry. When not specified, the `import` value is inferred from the `gomod`. When not specified, the `name` is inferred from the `import`.\n\nThe `import` might specify a more specific path than what is specified in the `gomod`. For instance, your Go module might be `gitlab.com/myorg/myrepo` and the `import` might be `gitlab.com/myorg/myrepo/myexporter`.\n\nThe `name` will typically be omitted, except when multiple components have the same name. In such case, set a unique name for each module.\n\nOptionally, a list of `go mod` replace entries can be provided, in case custom overrides are needed. This is typically necessary when a processor or some of its transitive dependencies have dependency problems.\n\n```yaml\ndist:\n    module: github.com/open-telemetry/opentelemetry-collector-builder # the module name for the new distribution, following Go mod conventions. Optional, but recommended.\n    name: otelcol-custom # the binary name. Optional.\n    description: \"Custom OpenTelemetry Collector distribution\" # a long name for the application. Optional.\n    include_core: true # whether the core components should be included in the distribution. Optional.\n    otelcol_version: \"0.37.0\" # the OpenTelemetry Collector version to use as base for the distribution. Optional.\n    output_path: /tmp/otelcol-distributionNNN # the path to write the output (sources and binary). Optional.\n    version: \"1.0.0\" # the version for your custom OpenTelemetry Collector. Optional.\n    go: \"/usr/bin/go\" # which Go binary to use to compile the generated sources. Optional.\nexporters:\n  - gomod: \"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.37.0\" # the Go module for the component. Required.\n    import: \"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter\" # the import path for the component. Optional.\n    name: \"alibabacloudlogserviceexporter\" # package name to use in the generated sources. Optional.\n    path: \"./alibabacloudlogserviceexporter\" # in case a local version should be used for the module, the path relative to the current dir, or a full path can be specified. Optional.\nreplaces:\n  # a list of \"replaces\" directives that will be part of the resulting go.mod\n  - github.com/open-telemetry/opentelemetry-collector-contrib/internal/common =\u003e github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.37.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-telemetry%2Fopentelemetry-collector-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-telemetry%2Fopentelemetry-collector-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-telemetry%2Fopentelemetry-collector-builder/lists"}