Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Henrik_Noerr1
Advisor

how to view exporter configuration

Hey,

When trying to view opentelemetry configuration I get a null pointer exec:

[Expert@tst-vsx-01:0]# sklnctl --show_open_telemetry
panic: interface conversion: interface {} is nil, not string

goroutine 1 [running]:
checkpoint.com/otlp/sklnctl/commands.(*ExportTarget).Populate(0xc00031faf8, {0xc000401140, 0xa}, 0x0?)
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/commands/showopentelemetry.go:170 +0x146
checkpoint.com/otlp/sklnctl/commands.PopulateExportTargets()
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/commands/showopentelemetry.go:183 +0x1cb
checkpoint.com/otlp/sklnctl/commands.ShowOpenTelemetry()
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/commands/showopentelemetry.go:190 +0x1d
checkpoint.com/otlp/sklnctl/commands.glob..func1(0xb42be0?, {0x81233b?, 0x1?, 0x1?})
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/commands/commands.go:28 +0x6a
github.com/spf13/cobra.(*Command).execute(0xb42be0, {0xc0000b4010, 0x1, 0x1})
/ckp/builder/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xb42be0)
/ckp/builder/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x425
github.com/spf13/cobra.(*Command).Execute(...)
/ckp/builder/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
checkpoint.com/otlp/sklnctl/commands.Execute()
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/commands/commands.go:466 +0x7a
main.main()
/local_ckp/src/skyline_configuration_tools/otlp_GA/release.static/main.go:17 +0x2a
[Expert@tst-vsx-01:0]#

The gateway is exporting just fine as per the payload loaded. On that note - Can the payload be see somewhere? without the above command. I cannot find the actual config file where I suspect the error is.

 

[Expert@tst-vsx-01:0]# sklnctl -v
{"sklnctl version": "1.0.2"}

 

Lastly, I use (sklnctl export --set-env "tst-01") - it it possible to have multiple environments? ie, <test>,<customer>,<cluster> 

 

Regards,

Henrik

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events