InsightsConfig
As you resolve insights in your environment, you might want to ignore or remove some insights.
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.
To use this feature, you must include the --set featureGates.insightsConfiguration=true
flag when you install the Gloo CRDs Helm chart.
helm upgrade -i gloo-platform-crds gloo-platform/gloo-platform-crds \
--namespace=gloo-mesh \
--create-namespace \
--version=$GLOO_VERSION \
--set installEnterpriseCrds=false \
--set featureGates.insightsConfiguration=true
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.
Field | Description |
---|---|
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. |