Cannot collect data for display

Hi, everyone! I'm trying to configure Prometheus integration. Gitlab cannot collect data for display becouse metrics are not labeled. I use cAdvisor and Prometheus to collect Docker metrics. Example metrics:

container_tasks_state{container_label_authors="SeleniumHQ",id="/docker/49c262c0a9e845db4009ba27bdb466c8feb28e39556684e9695ef29bac7ac159",image="selenium/standalone-chrome",instance="10.1.18.1:8080",job="cAdvisor",name="webrudemoreact-selenium-chrome",state="iowaiting"}

container_tasks_state{container_label_com_docker_compose_config_hash="00bf4a76b23a5c97d4b127988392fcf564205a112717e69116579033bacbc60d",container_label_com_docker_compose_container_number="1",container_label_com_docker_compose_oneoff="False",container_label_com_docker_compose_project="web10741",container_label_com_docker_compose_service="web",container_label_com_docker_compose_version="1.17.1",id="/docker/9783e36718ee15e60ee7cea6981b2646b58993d0bca236b32e9f9a5880b81369",image="ub.com.ru/web/info:web-10741",instance="10.1.18.1:8080",job="cAdvisor",name="web10741",state="iowaiting"}

Where I have to add the variable CI_ENVIRONMENT_SLUG so that it appears in the Docker metrics?

GitLab CE 11.3.0

Edited Aug 14, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading