0.1.1 • Published 5 months ago

@devminified/plugin-cost-insights-backend v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months ago

Plugin Cost Insights Backend

Welcome to the cost insights backend plugin!

Cost insights backend is a plugin to fetch data from cloud platform using nOps APIs.

Install

# Run from backstage root directory
yarn packages/backend add @devminified/plugin-cost-insights-backend

Configuration

Configure app-config.yaml file:

// Other configuration
backend:
    costInsights:
        baseUrl: // nops api base url
        apiKey: // nops api key
// Other configuration

Usage

To expose endpoints at /api/cost-insights

// packages/backend/src/index.ts

/* remainig code */

backend.add(import('@devminified/plugin-cost-insights-backend'));

/* remaining code */