After getting Skyline to send data to our Prometheus, I got overconfident and started feeding different json files to
sklnctl export --set "$( cat file.json)".
(along sk178566)
Situation now:
- No new data appears in Prometheus
- Runing sklnctl with the original json file does NOT restore the original (working) behaviour
- "/opt/CPviewExporter/otlp_cpview.log" shows lines of
2024/01/25 15:24:23 max retry time elapsed: rpc error: code = Unavailable desc = connection error:
desc = "transport: Error while dialing dial unix /opt/CPotelcol/grpc_otlp.sock: connect: no such file or directory"
- Running "/opt/CPotelcol/GetOTDynamicConfig.sh | jq ." gives some strange data, different from what it was before:
"exporters": {
"prometheusremotewrite": {
"headers": {
"authorization": "Basic ${env:PROMETHEUSREMOTEWRITE_SKYLINE_BASIC_TOKEN}"
(^^^^^^^^^^^^ This had been the base64-endcoded user:pass before)
"service": {
"pipelines": {
"metrics/skyline": {
"exporters": [
"prometheusremotewrite",
"prometheusremotewrite",
"prometheusremotewrite",
"prometheusremotewrite"
],
"processors": [
"batch",
"filter/skyline"
],
"receivers": [
"otlp"
]
"exporters" and "processors" previously contained only one value each.
To me, it looks like sklnctl somehow accumulates entries instead of replacing them.
--> Is there a way to completely reset the skyline configuration so I can restart from scratch?
We are running R81.10 Take 130.