feat(monit): add datasource tool invocation and refresh investigation commands #417
Annotations
4 errors
|
lint
issues found
|
|
lint:
internal/cli/monit_query.go#L61
SA1019: ctx.Client.Diagnostics.QueryDiagnose is deprecated: migrate to /monit/datasource/tools/invoke with prometheus.metric_trends, loki.log_patterns or victorialogs.log_patterns. Retained for existing consumers; the legacy request and response remain unchanged. (staticcheck)
|
|
lint:
internal/cli/datasource_tools_test.go#L64
Error return value of `io.WriteString` is not checked (errcheck)
|
|
lint:
internal/cli/datasource_tools_test.go#L28
Error return value of `io.WriteString` is not checked (errcheck)
|