resilience4j / resilience4j-spring-boot2-demo

A Spring Boot 2 demo which shows how to use the Resilience4j Spring Boot 2 Starter
Apache License 2.0
254 stars 190 forks source link

Grafana (3000) port not accessible after docker compose. #20

Closed leoprince closed 5 years ago

leoprince commented 5 years ago

This may really not be an issue, however I love this demo so much and Thank you guys for having reslience4j, prometheus and grafana integrated. I ran docker up and for some reason I am not able to access grafana port localhost:3000. Any pointers on why I could not access grafana port, Here are my logs,

_ docker-compose -f docker-compose.yml up prometheus is up-to-date grafana is up-to-date Attaching to prometheus, grafana grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Starting Grafana" logger=server version=6.4.2 commit=443a0ba branch=HEAD compiled=2019-10-08T09:10:35+0000 grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="App mode production" logger=settings grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Initializing SqlStore" logger=server grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3 grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Starting DB migration" logger=migrator grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create migration_log table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create user table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index user.login" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index user.email" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_user_login - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_user_email - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table user to user_v1 - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create user table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_login - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_email - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="copy data_source v1 to v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old table user_v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column help_flags1 to user table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update user table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add last_seen_at column to user" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add missing user data" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add is_disabled column to user" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create temp user table v1-7" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_email - v1-7" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_org_id - v1-7" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_code - v1-7" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_status - v1-7" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update temp_user table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create star table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index star.user_id_dashboard_id" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create org table v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_org_name - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create org_user table v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_org_user_org_id - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_org_user_org_id_user_id - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update org table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update org_user table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Migrate all Read Only Viewers to Viewers" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add index dashboard.account_id" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_account_id_slug" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_tag table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_tag.dasboard_id_term" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table dashboard to dashboard_v1 - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_org_id - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_org_id_slug - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="copy dashboard v1 to v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop table dashboard_v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="alter dashboard.data to mediumtext v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column updated_by in dashboard - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column created_by in dashboard - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column gnetId in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for gnetId in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column plugin_id in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for plugin_id in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for dashboard_id in dashboard_tag" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update dashboard table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update dashboard_tag table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column folder_id in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column isFolder in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column has_acl in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column uid in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update uid column values in dashboard" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add unique index dashboard_org_id_uid" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Remove unique index org_id_slug" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update dashboard title length" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add unique index for dashboard_org_id_title_folder_id" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_provisioning" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_provisioning v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="copy dashboard_provisioning v1 to v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop dashboard_provisioning_tmp_qwerty" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add check_sum column" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create data_source table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add index data_source.account_id" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index data_source.account_id_name" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_data_source_account_id - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_data_source_account_id_name - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table data_source to data_source_v1 - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create data_source table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_data_source_org_id - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_data_source_org_id_name - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="copy data_source v1 to v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old table data_source_v1 #2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column with_credentials" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add secure json data column" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update data_source table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update initial version to 1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add read_only data column" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Migrate logging ds to loki ds" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update json_data with nulls" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create api_key table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add index api_key.account_id" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add index api_key.key" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="add index api_key.account_id_name" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_api_key_account_id - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_api_key_key - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_api_key_account_id_name - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table api_key to api_key_v1 - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create api_key table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_api_key_org_id - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_api_key_key - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_api_key_org_id_name - v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="copy api_key v1 to v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old table api_key_v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update api_key table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add expires to api_key table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_snapshot table v4" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop table dashboard_snapshot_v4 #1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_snapshot table v5 #2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_snapshot_key - v5" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_snapshot_user_id - v5" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="alter dashboard_snapshot to mediumtext v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update dashboard_snapshot table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column external_delete_url to dashboard_snapshots table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create quota table v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_quota_org_id_user_id_target - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update quota table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create plugin_setting table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column plugin_version to plugin_settings" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update plugin_setting table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create session table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old table playlist table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old table playlist_item table" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create playlist table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create playlist item table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update playlist table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update playlist_item table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v2" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v3" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="create preferences table v3" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update preferences table charset" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Add column team_id in preferences" grafana | t=2019-10-14T12:05:49+0000 lvl=info msg="Executing migration" logger=migrator id="Update team_id column values in preferences" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create alert table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index alert org_id & id " grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index alert state" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index alert dashboard_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Create alert_rule_tag table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create alert_notification table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column is_default" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column frequency" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column send_reminder" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column disable_resolve_message" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index alert_notification org_id & name" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Update alert table charset" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Update alert_notification table charset" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create notification_journal table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index notification_journal org_id & alert_id & notifier_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="drop alert_notification_journal" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create alert_notification_state table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add for to alert table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column uid in alert_notification" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Update uid column values in alert_notification" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add unique index alert_notification_org_id_uid" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Remove unique index org_id_name" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Drop old annotation table v4" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create annotation table v5" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index annotation 0 v3" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index annotation 1 v3" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index annotation 2 v3" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index annotation 3 v3" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index annotation 4 v3" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Update annotation table charset" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column region_id to annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Drop category_id index" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column tags to annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Create annotation_tag table v2" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add unique index annotation_tag.annotation_id_tag_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Update alert annotations and set TEXT to empty" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add created time to annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add updated time to annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for created in annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for updated in annotation table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Convert existing annotations from seconds to milliseconds" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add epoch_end column" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add index for epoch_end" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Make epoch_end the same as epoch" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Move region to single row" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create test_data table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard_version table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index dashboard_version.dashboard_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Set dashboard version to 1 where 0" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="save existing dashboard data in dashboard_version table v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="alter dashboard_version.data to mediumtext v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create team table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index team.org_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index team_org_id_name" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create team member table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index team_member.org_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index team_member_org_id_team_id_user_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column email to team table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column external to team_member table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add column permission to team_member table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create dashboard acl table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index dashboard_acl_dashboard_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_acl_dashboard_id_user_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_acl_dashboard_id_team_id" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="save default acl rules in dashboard_acl table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create tag table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index tag.key_value" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create login attempt table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index login_attempt.username" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_login_attempt_username - v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create login_attempt v2" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_login_attempt_username - v2" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="copy login_attempt v1 to v2" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="drop login_attempt_tmp_qwerty" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create user auth table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="alter user_auth.auth_id to length 190" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add OAuth access token to user_auth" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add OAuth refresh token to user_auth" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add OAuth token type to user_auth" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add OAuth expiry to user_auth" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="Add index to user_id column in user_auth" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create server_lock table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add index server_lock.operation_uid" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create user auth token table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index user_auth_token.auth_token" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index user_auth_token.prev_auth_token" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="create cache_data table" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Executing migration" logger=migrator id="add unique index cache_data.cache_key" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Created default admin" logger=sqlstore user=admin grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing HTTPServer" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing InternalMetricsService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing RemoteCache" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing QuotaService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing ServerLockService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing UserAuthTokenService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing PluginManager" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Starting plugin search" logger=plugins grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing RenderingService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing AlertEngine" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing DatasourceCacheService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing HooksService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing LoginService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing SearchService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing TracingService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing UsageStatsService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing CleanUpService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing NotificationService" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing provisioningServiceImpl" logger=server grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Backend rendering via phantomJS" logger=rendering grafana | t=2019-10-14T12:05:50+0000 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="Initializing Stream Manager" grafana | t=2019-10-14T12:05:50+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket= grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Starting Grafana" logger=server version=6.4.2 commit=443a0ba branch=HEAD compiled=2019-10-08T09:10:35+0000 grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="App mode production" logger=settings grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing SqlStore" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3 grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Starting DB migration" logger=migrator grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing HTTPServer" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing InternalMetricsService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing RemoteCache" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing QuotaService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing ServerLockService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing UserAuthTokenService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing PluginManager" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Starting plugin search" logger=plugins grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing RenderingService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing AlertEngine" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing DatasourceCacheService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing HooksService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing LoginService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing SearchService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing TracingService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing UsageStatsService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing CleanUpService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing NotificationService" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing provisioningServiceImpl" logger=server grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Backend rendering via phantomJS" logger=rendering grafana | t=2019-10-14T12:12:45+0000 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="Initializing Stream Manager" grafana | t=2019-10-14T12:12:45+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket= grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Starting Grafana" logger=server version=6.4.2 commit=443a0ba branch=HEAD compiled=2019-10-08T09:10:35+0000 grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="App mode production" logger=settings grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing SqlStore" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3 grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Starting DB migration" logger=migrator grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing HTTPServer" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing InternalMetricsService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing RemoteCache" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing QuotaService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing ServerLockService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing UserAuthTokenService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing PluginManager" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Starting plugin search" logger=plugins grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing RenderingService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing AlertEngine" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing DatasourceCacheService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing HooksService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing LoginService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing SearchService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing TracingService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing UsageStatsService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing CleanUpService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing NotificationService" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing provisioningServiceImpl" logger=server grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Backend rendering via phantomJS" logger=rendering grafana | t=2019-10-14T12:14:04+0000 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="Initializing Stream Manager" prometheus | level=info ts=2019-10-14T12:05:49.520Z caller=main.go:296 msg="no time or size retention was set so using the default time retention" duration=15d prometheus | level=info ts=2019-10-14T12:05:49.521Z caller=main.go:332 msg="Starting Prometheus" version="(version=2.13.0, branch=HEAD, revision=6ea4252299f542669aca11860abc2192bdc7bede)" prometheus | level=info ts=2019-10-14T12:05:49.521Z caller=main.go:333 build_context="(go=go1.13.1, user=root@f30bdad2c3fd, date=20191004-11:25:34)" prometheus | level=info ts=2019-10-14T12:05:49.521Z caller=main.go:334 host_details="(Linux 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 docker-desktop (none))" prometheus | level=info ts=2019-10-14T12:05:49.521Z caller=main.go:335 fd_limits="(soft=1048576, hard=1048576)" prometheus | level=info ts=2019-10-14T12:05:49.521Z caller=main.go:336 vm_limits="(soft=unlimited, hard=unlimited)" prometheus | level=info ts=2019-10-14T12:05:49.525Z caller=main.go:657 msg="Starting TSDB ..." prometheus | level=info ts=2019-10-14T12:05:49.525Z caller=web.go:450 component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | level=info ts=2019-10-14T12:05:49.532Z caller=head.go:512 component=tsdb msg="replaying WAL, this may take awhile" prometheus | level=info ts=2019-10-14T12:05:49.533Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | level=info ts=2019-10-14T12:05:49.535Z caller=main.go:672 fs_type=EXT4_SUPER_MAGIC prometheus | level=info ts=2019-10-14T12:05:49.535Z caller=main.go:673 msg="TSDB started" prometheus | level=info ts=2019-10-14T12:05:49.535Z caller=main.go:743 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:05:49.554Z caller=main.go:771 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:05:49.554Z caller=main.go:626 msg="Server is ready to receive web requests." prometheus | level=info ts=2019-10-14T12:12:45.589Z caller=main.go:296 msg="no time or size retention was set so using the default time retention" duration=15d prometheus | level=info ts=2019-10-14T12:12:45.589Z caller=main.go:332 msg="Starting Prometheus" version="(version=2.13.0, branch=HEAD, revision=6ea4252299f542669aca11860abc2192bdc7bede)" prometheus | level=info ts=2019-10-14T12:12:45.589Z caller=main.go:333 build_context="(go=go1.13.1, user=root@f30bdad2c3fd, date=20191004-11:25:34)" prometheus | level=info ts=2019-10-14T12:12:45.589Z caller=main.go:334 host_details="(Linux 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 docker-desktop (none))" prometheus | level=info ts=2019-10-14T12:12:45.590Z caller=main.go:335 fd_limits="(soft=1048576, hard=1048576)" prometheus | level=info ts=2019-10-14T12:12:45.590Z caller=main.go:336 vm_limits="(soft=unlimited, hard=unlimited)" prometheus | level=info ts=2019-10-14T12:12:45.593Z caller=main.go:657 msg="Starting TSDB ..." prometheus | level=info ts=2019-10-14T12:12:45.593Z caller=web.go:450 component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | level=info ts=2019-10-14T12:12:45.597Z caller=head.go:512 component=tsdb msg="replaying WAL, this may take awhile" prometheus | level=info ts=2019-10-14T12:12:45.605Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=0 maxSegment=1 prometheus | level=info ts=2019-10-14T12:12:45.605Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=1 maxSegment=1 prometheus | level=info ts=2019-10-14T12:12:45.607Z caller=main.go:672 fs_type=EXT4_SUPER_MAGIC prometheus | level=info ts=2019-10-14T12:12:45.607Z caller=main.go:673 msg="TSDB started" prometheus | level=info ts=2019-10-14T12:12:45.607Z caller=main.go:743 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:12:45.706Z caller=main.go:771 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:12:45.707Z caller=main.go:626 msg="Server is ready to receive web requests." prometheus | level=info ts=2019-10-14T12:14:05.027Z caller=main.go:296 msg="no time or size retention was set so using the default time retention" duration=15d prometheus | level=info ts=2019-10-14T12:14:05.027Z caller=main.go:332 msg="Starting Prometheus" version="(version=2.13.0, branch=HEAD, revision=6ea4252299f542669aca11860abc2192bdc7bede)" prometheus | level=info ts=2019-10-14T12:14:05.028Z caller=main.go:333 build_context="(go=go1.13.1, user=root@f30bdad2c3fd, date=20191004-11:25:34)" prometheus | level=info ts=2019-10-14T12:14:05.028Z caller=main.go:334 host_details="(Linux 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 docker-desktop (none))" prometheus | level=info ts=2019-10-14T12:14:05.028Z caller=main.go:335 fd_limits="(soft=1048576, hard=1048576)" prometheus | level=info ts=2019-10-14T12:14:05.028Z caller=main.go:336 vm_limits="(soft=unlimited, hard=unlimited)" prometheus | level=info ts=2019-10-14T12:14:05.031Z caller=main.go:657 msg="Starting TSDB ..." prometheus | level=info ts=2019-10-14T12:14:05.031Z caller=web.go:450 component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | level=info ts=2019-10-14T12:14:05.035Z caller=head.go:512 component=tsdb msg="replaying WAL, this may take awhile" prometheus | level=info ts=2019-10-14T12:14:05.043Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=0 maxSegment=2 prometheus | level=info ts=2019-10-14T12:14:05.044Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=1 maxSegment=2 prometheus | level=info ts=2019-10-14T12:14:05.044Z caller=head.go:560 component=tsdb msg="WAL segment loaded" segment=2 maxSegment=2 prometheus | level=info ts=2019-10-14T12:14:05.046Z caller=main.go:672 fs_type=EXT4_SUPERMAGIC prometheus | level=info ts=2019-10-14T12:14:05.047Z caller=main.go:673 msg="TSDB started" prometheus | level=info ts=2019-10-14T12:14:05.047Z caller=main.go:743 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:14:05.169Z caller=main.go:771 msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml prometheus | level=info ts=2019-10-14T12:14:05.170Z caller=main.go:626 msg="Server is ready to receive web requests." grafana | t=2019-10-14T12:14:04+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket=

RobWin commented 5 years ago

Other docker containers are working on your machine? Which docker engine do you use? On Windows? Linux? Mac?

leoprince commented 5 years ago

Yes I could run other java docker containers, I use later docker desktop in mac.

Screen Shot 2019-10-14 at 3 06 08 PM
leoprince commented 5 years ago

@RobWin Looks like in Mac host network is not supported. The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server. More Info: https://docs.docker.com/network/host/

leoprince commented 5 years ago

I got it working by installing grafana and prometheus in Mac.

Kenku193 commented 1 year ago

When you you try to start your Prometheus with network host mode somewhere other than linux, it won't be available network_mode: host

Therefore, do not use this setting. Your docker-compose will look something like this:

services:
  prometheus:
      image: prom/prometheus:v2.35.0
      container_name: prometheus
      restart: unless-stopped
      volumes:
        - ./data/prometheus/config:/etc/prometheus/
      command:
        - "--config.file=/etc/prometheus/prometheus.yaml"
      ports:
        - 9090:9090
      links:
        - node-exporter:node-exporter

But now, when configuring Prometheus, you need to correctly specify where to get data from, because when working in Docker, he needs to understand that he may not be running in the same circuit as the application.

  - job_name: 'Spring Boot Application input'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 2s
    static_configs:
#      targets: [ 'localhost:8080' ]
      targets: [ 'host.docker.internal:8080' ]
        labels:
          application: "My Spring Boot Application"

If you leave targets: [ 'localhost:8080' ] when used through Docker, Prometheus will make requests "from another network". Therefore, you need to select the targets setting: [ 'host.docker.internal:8080' ]