Error while loading insights page

Hi,

I wrote a insights.yml file and i’m getting this error:

This chart could not be displayed: “Open issues by type”
Please check the configuration file for this chart

There was an error gathering the chart data: Invalid value for labels: []. It must be a non-empty array!

the relevant part in the yml file is:

IssusCharts:
title: “Issue Types Dashboard”
charts:
- title: “Open issues by type”
type: bar
query:
issuable_type: issue
issuable_state: opened
filter_labels:
- type::Feature
- type::Bug
- type::DevOps
- support:Needs Review
- title: “Issues open by type per month”
type: bar
query:
issuable_type: issue
issuable_state: opened
group_by: month
period_limit: 12
collection_labels:
- type::Feature
- type::Bug
- type::DevOps
- support:Needs Review
- title: “Issues closed by type per month”
type: bar
query:
issuable_type: issue
issuable_state: closed
group_by: month
period_limit: 12
collection_labels:
- type::Feature
- type::Bug
- type::DevOps
- support:Needs Review

what is the problem?

The solution is to use “collection_labels” instead of “filter_labels”