Filter not working in prometheus configuration

Hi

I am trying to configure prometheus. I wanted to pass only a few items from hass, so I used a filter:

My configuration.yaml has line:

prometheus: !include prometheus.yaml

And here is my prometheus.yaml file:

namespace: hass
filter:
  include:
    entities:
      - sensor.balconythp
      - sensor.bathroomthp
      - sensor.bedroomthp_2
      - sensor.halwaythp_3
      - sensor.katethp_2
      - sensor.livingroomthp
      - sensor.marekthp
      - sensor.washroomthp

but I can see all entities in prometheus. Any ideas what’s wrong?