Table of contents
This page describes what to do in case of an Icinga alert. For more information you could search the govuk-puppet repo for the source of the alert

content-data-api app healthcheck not ok

Please notify Data Informed Content via Slack #govuk-data-informed about the alarm. The product is currently in private beta, so the development team will help solve any issues.

If there is a health check error showing for Content Data API, you can click on the alert to find out more details about what’s wrong. Here are the possible problems you may see:

ETL :: no monthly aggregations of metrics for yesterday

This means that the ETL master process that runs daily that creates aggregations of the metrics failed.

To fix this problem run the following rake task: bash etl:repopulate_aggregations_month["2019-02-14", "2019-02-14"]

ETL :: no searches updated from yesterday

This means that the Etl process that runs daily and refreshes the Materialized Views failed to update those views.

To fix this problem run the following rake task: bash etl:repopulate_aggregations_search

ETL :: no daily metrics for yesterday

This means that the ETL master process that runs daily to retrieve metrics for content items has failed.

To fix this problem re-run the master process again

ETL :: no pviews for yesterday

This means the the ETL master process that runs daily has failed to collect pageview metrics from Google Analytics. The issue may originate from the ETL processor responsible for collecting core metrics.

To fix this problem run the following rake task:

rake etl:repopulate_views["2018-01-01","2018-01-01"]

ETL :: no upviews for yesterday

This means the the ETL master process that runs daily has failed to collect unique pageview metrics from Google Analytics. The issue may originate from the ETL processor responsible for collecting core metrics.

To fix this problem run the following rake task:

rake etl:repopulate_views["2018-01-01","2018-01-01"]

ETL :: no searches for yesterday

This means the the ETL master process that runs daily has failed to collect number of searches metrics from Google Analytics. The issue may originate from the ELT processor responsible for collecting Internal Searches.

To fix this problem run the following rake task:

rake etl:repopulate_searches["2018-01-01","2018-01-02"]

ETL :: no feedex for yesterday

This means the the ETL master process that runs daily has failed to collect feedex metrics from Google Analytics. The issue may originate from the ETL processor responsible for collecting Feedex comments.

To fix this problem run the following rake task:

rake etl:repopulate_feedex["2018-01-01","2018-01-01"]
This page was last reviewed on 4 February 2019. It needs to be reviewed again on 4 August 2019 by the page owner #govuk-data-informed .
This page was set to be reviewed before 4 August 2019 by the page owner #govuk-data-informed. This might mean the content is out of date.