Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 757 Bytes

contributing.md

File metadata and controls

27 lines (19 loc) · 757 Bytes

Contributing

Backend

To add a service to the dashboard, firstly add the summary API to service-health-backend/src/service/ServiceHealthLogic.ts under the refreshAllServices function:

  const <INSERT_NAME>Incidents = fetchDataFromAPI(
    '<STATUS_SUMMARY_URL',
  );

Then add the service to the list of responses below that.

Frontend

You then need to add the icon png for the new service in the service-health-dashboard/src/assests folder, and import into service-health-dashboard/src/ServiceHealthPage/ServiceHealthPage.tsx

Then add your icon to the list of icons, making sure the name you use is identical to how the service 'name' is defined in the API, e.g:

const icons = {
...
'Datadog US1': DataDog,
...
};