Skip to content

Require configuration file for all OTel collector installations and update examples#808

Open
dmenilo1 wants to merge 6 commits intomasterfrom
update-installer-readme
Open

Require configuration file for all OTel collector installations and update examples#808
dmenilo1 wants to merge 6 commits intomasterfrom
update-installer-readme

Conversation

@dmenilo1
Copy link
Contributor

Description

Add configuration requirement and update all installation examples across platforms

Checklist:

  • I have updated the relevant Helm chart(s) version(s)
  • I have updated the relevant component changelog(s)
  • [x ] This change does not affect any particular component (e.g. it's CI or docs change)

> [!IMPORTANT]
> **Configuration Required**
>
> A configuration file must be provided when installing the collector in regular mode.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is regular mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not supervised

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use not using the opamp supervisor or something like that. Otherwise is not clear

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated all entries in all readme files to local configuration mode which makes more sense

CORALOGIX_PRIVATE_KEY="<your-private-key>" \
bash -c "$(curl -sSL https://github.com/coralogix/telemetry-shippers/releases/latest/download/docker-install.sh)" \
-- --config /path/to/config.yaml
-- -c /path/to/config.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was --config removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not removed, both options exist, just examples are updated to use -c

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, try to keep changes to just what is needed in the PR. Else, it can be difficult to review the important changes because of the introduced noise.

# One-line installation (sudo is handled automatically):
# CORALOGIX_DOMAIN="your-domain" CORALOGIX_PRIVATE_KEY="your-key" bash -c "$(curl -sSL https://github.com/coralogix/telemetry-shippers/releases/latest/download/coralogix-otel-collector.sh)"
#
# Or with options:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds confusion to users, it is noot used in any examples (all use bash -c "$(curl ...)")
[OPTIONS] is vague
Less common than the bash -c method

Examples:
# One-line installation (recommended)
CORALOGIX_DOMAIN="your-domain" CORALOGIX_PRIVATE_KEY="your-key" bash -c "$(curl -sSL https://github.com/coralogix/telemetry-shippers/releases/latest/download/coralogix-otel-collector.sh)"
CORALOGIX_PRIVATE_KEY="your-key" bash -c "$(curl -sSL https://github.com/coralogix/telemetry-shippers/releases/latest/download/coralogix-otel-collector.sh)" -- -c /path/to/config.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the domain is not needed anymore here but in other locations it is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

domain is part of the otel-config in regular mode, it is populated automatically from the UI integration.
It is only needed for supervised mode

-- --memory-limit 2048 --listen-interface 0.0.0.0
```

## Service Discovery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The chart to support it is not released yet, so removed it until released

@dmenilo1 dmenilo1 requested a review from MLKEREN February 19, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants