Skip to content
This repository was archived by the owner on Feb 7, 2018. It is now read-only.

migrating to the new metrics tracker client

Patrick Titzler edited this page Dec 7, 2017 · 2 revisions

Overview

Why you should consider migrating ASAP

  • The existing Deployment Tracker Service no longer stores deployment tracking information that the Deployment Tracker client for Java you are using is sending.
  • Existing links to the deployment badge image and the "Deploy to IBM Cloud" image that you might have embedded in your README will be broken soon.

Disabling deployment tracking

Should you decide to not migrate to the new client, please disable deployment tracking:

  • Remove the cf-java-app-tracker-client-{version}.jar library from your web application's WebContent/WEB-INF/lib directory
  • Remove package.json from your web application's WebContent/META-INF directory

Migration steps

To migrate to the new tracking infrastructure:

  • Remove the cf-java-app-tracker-client-{version}.jar library from your web application's `WebContent/WEB-INF/lib
  • Follow the metrics client for Java setup instructions
  • Update your Deployment badge URLs and "Deploy to IBM Cloud" button URLs in your README.md
    • Deploy your application to IBM Cloud
    • Open https://metrics-tracker.mybluemix.net/stats and log in (access is restricted to IBM employees)
    • Locate your repository entry
    • Open the repository details page and note the new button/badge URLs
    • Update your existing README.md and other collateral with the designated URL/markdown code.

Note: The existing deployment statistics for your repository will not be migrated.