For example, an insight that gives a warning for production usage might not be relevant when you try out a new feature in a sandbox Istio environment. To disable an insight and remove it from your insights list in the Gloo UI, include the insight’s code in an InsightsConfig resource. To find an insight’s code, go to the list of insights, click the insight’s Details, and look for the Code.

Proto: insights_config.proto

Package: admin.gloo.solo.io

Example

The example disables the CFG0002 and CFG0003 insights.

  apiVersion: admin.gloo.solo.io/v2alpha1
kind: InsightsConfig
metadata:
  name: insights-config
  namespace: gloo-mesh
spec:
  disabledInsights:
    - CFG0002
    - CFG0003
  

spec fields

Specifications for the InsightsConfig resource.

FieldDescription
disabledInsights(repeated string)

A list of codes for the insights that you want to disable, such as CFG0002. These insights are not included in the insights list in the Gloo UI.