Configuration Changes to Enable / Disable Insights Pages

The Insights pages can be hidden or shown, based on the changes made in the app-config.json file. By default, when Grafana is enabled, Pipeline insights and User insights pages are displayed and the Stage insights page is hidden.

To show or hide the insights pages as per your requirement, follow the steps below:

  • Goto enterprise-spinnaker/charts/oes/config/oes-ui/app-config.json

  • In the app-config.json file, add the following boolean flags as shown in the code block below:

    "hide_pipeline_insights": false,

    "hide_stage_insights": true,

    "hide_user_insights": false,

"grafana_enabled": false,
"hide_pipeline_insights": false, 
"hide_stage_insights": true,  
"hide_user_insights": false,      
"grafanaPipelineInsightsEndpoint":"<PROTOCOL>://<ISD-URL>/grafana/d/pipeline-insight/pipeinsights",     
"grafanaStageInsightsEndpoint":"<PROTOCOL>://<ISD-URL>/grafana/d/stage-insight/stageinsights",    
"grafanaUserInsightsEndpoint":"<PROTOCOL>://<ISD-URL>/grafana/d/user-insights/user-insights"

The grafana_enabled flag is false, by default. The boolean flags to enable the insights page, are available, only if grafana_enabed flag is true.

Last updated