|Pivotal Cloud Foundry® (PCF)||1.6, 1.7|
|PCF Metrics Tile||
1.0.3 - 1.0.7
Once PCF Metric is installed, opening https://metrics.<system-domain> in the browser returns the following message:
404 Not Found: Requested route ('metrics.system-dev.cf.pivotal.io') does not exist.
NOTE : This issue is Fixed in PCF Metrics version 1.0.8
During the uninstall of PCF Metrics, not all resources (i.e. apps and routes) are removed. Updates or upgrades of other PCF Tiles may also cause this issue to arise if the PCF Metrics Tile errands are rerun.
Log on to Apps Manager via CLI and run the following commands:
cf target -o system -s metrics
cf stop metrics cf stop metrics-api cf unmap-route metrics <system-domain> --hostname metrics cf unmap-route metrics-api <system-domain> --hostname metrics cf map-route metrics <system-domain> --hostname metrics cf map-route metrics-api <system-domain> --hostname metrics --path v2 cf start metrics cf start metrics-api
cf routes afterwards, you should have something similar to the following:
cf routes Getting routes for org system / space metrics as admin ... space host domain port path type apps service metrics metrics <system-domain> /v2 metrics-api metrics metrics <system-domain> metrics
Additional InformationIf you execute
cf routescommand and notice that no applications exists (see below), Please run
cf delete-orphaned-routesto delete routes, then try
Getting routes for org system / space metrics as admin ...
space host domain path apps service
metrics metrics <system-domain> /v2
metrics metrics <system-domain>
If the steps listed above do not resolve the problem, submit a ticket to PCF support at support.pivotal.io.