Tenant credentials should derrive CH hostname from scheduler credtials
This MR makes it possible to use a CH server other than the in-cluster CH cluster.
The idea is to allow for pre-creating opstrace-scheduler-clickhouse-credentials
with CH DSN pointing to some other CH server. This requires deriving hostname for otel-collectors from the hostname defined in the DSN in the scheduler credentials instead of hardcoding it. See #2778 (closed) for more details.
This change should be 100% backwards compatible and not result in any change in behaviour because previously, the both hostnames were the same anyway.
Related to #2594
Related to #2778 (closed)
Edited by Pawel Rozlach