You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i set "storage_resources": true, in configs.json i get hit with the below error
panic: runtime error: index out of range [0] with length 0
goroutine 26 [running]:
main.UnityCollector.CollectStorageResourceMetrics.func1()
/splunk/goprojects/unity2promgo/unitycollector.go:222 +0x509
created by main.UnityCollector.CollectStorageResourceMetrics
/splunk/goprojects/unity2promgo/unitycollector.go:210 +0xaa
If "storage_resources": false i see below but doesn't seems to be fetching any metrics,
Running Unity Export with default configs:
./unity2promgo
My Configs(example used of port field):
{
"exporter": {
"port": "8080",
"interval": 60,
"pools": false,
"storage_resources": false,
"metrics":}}
it gives the following logs:
2020/01/14 18:05:15 main.go:main - Create unity Session: ip
2020/01/14 18:05:17 main.go:main - Unity Name: unityname
2020/01/14 18:05:17 unityCollector.go:NewUnityCollector - Unity: unityname
2020/01/14 18:05:17 1
2020/01/14 18:05:17 listen tcp: address 8080: missing port in address
The text was updated successfully, but these errors were encountered: