IBM / metrics-collector-service

Tracks deployments of sample applications to IBM Bluemix
Apache License 2.0
2 stars 7 forks source link

Cannot get entry for stats #37

Open scottdangelo opened 6 years ago

scottdangelo commented 6 years ago

In the past, we could deploy to IBM Cloud and the repository would show up on the stats page with a badge we could use, including a button. I have deployed a new repository several times, but it does not show up on the stats page. The changes to use metrics tracker are on the [addMetricsDeploy] (https://github.com/IBM/watson-stock-advisor/tree/addMetricsDeploy) branch.

Tomcli commented 6 years ago

Spacing is very crucial in the yaml file. It looks like your repository.yaml has too many spaces for indentation. You should use a 2 space tab when indenting the runtimes and services list.

id: https://github.com/IBM/watson-stock-advisor
runtimes:
  - Cloud Foundry
services:
  - Discovery
  - Cloudant NoSQL DB
event_id: web
event_organizer: dev-journeys
language: nodejs
scottdangelo commented 6 years ago

Yes, very obvious now. I cut and pasted from the instructions, which use tabs. It is better to not use tabs, since they vary system to system, and just use spaces.