internal/cli/server :: chg : default OpenCollectorEndpoint to empty string (#872)

* chg : default OpenCollectorEndpoint to empty string

* chg : opencollector-endpoint defaults in configs
This commit is contained in:
SHIVAM SHARMA 2023-05-22 15:28:03 +05:30 committed by GitHub
parent 0f3d965067
commit 5c91264143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -129,7 +129,7 @@ syncmode = "full"
metrics = true
# expensive = false
# prometheus-addr = "127.0.0.1:7071"
# opencollector-endpoint = "127.0.0.1:4317"
# opencollector-endpoint = ""
# [telemetry.influx]
# influxdb = false
# endpoint = ""

View file

@ -130,7 +130,7 @@ devfakeauthor = false # Run miner without validator set authorization
metrics = false # Enable metrics collection and reporting
expensive = false # Enable expensive metrics collection and reporting
prometheus-addr = "127.0.0.1:7071" # Address for Prometheus Server
opencollector-endpoint = "127.0.0.1:4317" # OpenCollector Endpoint (host:port)
opencollector-endpoint = "" # OpenCollector Endpoint (host:port)
[telemetry.influx]
influxdb = false # Enable metrics export/push to an external InfluxDB database (v1)
endpoint = "" # InfluxDB API endpoint to report metrics to

View file

@ -258,7 +258,7 @@ The ```bor server``` command runs the Bor client.
- ```metrics.prometheus-addr```: Address for Prometheus Server (default: 127.0.0.1:7071)
- ```metrics.opencollector-endpoint```: OpenCollector Endpoint (host:port) (default: 127.0.0.1:4317)
- ```metrics.opencollector-endpoint```: OpenCollector Endpoint (host:port)
- ```metrics.influxdbv2```: Enable metrics export/push to an external InfluxDB v2 database (default: false)

View file

@ -703,7 +703,7 @@ func DefaultConfig() *Config {
Enabled: false,
Expensive: false,
PrometheusAddr: "127.0.0.1:7071",
OpenCollectorEndpoint: "127.0.0.1:4317",
OpenCollectorEndpoint: "",
InfluxDB: &InfluxDBConfig{
V1Enabled: false,
Endpoint: "",