Skip to content

bounty: Add New Relic usage plugin#77

Closed
Zaid-L9 wants to merge 2 commits into
opencost:mainfrom
Zaid-L9:plugin/newrelic-usage-costs
Closed

bounty: Add New Relic usage plugin#77
Zaid-L9 wants to merge 2 commits into
opencost:mainfrom
Zaid-L9:plugin/newrelic-usage-costs

Conversation

@Zaid-L9
Copy link
Copy Markdown

@Zaid-L9 Zaid-L9 commented May 11, 2026

Summary

  • Adds a New Relic plugin for OpenCost custom costs.
  • Queries New Relic NerdGraph for data ingest, Core CCU, Advanced CCU, and Synthetics usage.
  • Converts usage into custom cost records using configurable unit prices.
  • Supports custom NRQL usage queries for plan-specific New Relic billing lines.
  • Validates required New Relic API, account, pricing, and custom query configuration.
  • Adds README documentation and registers the plugin in manifest.

Verification

  • go test ./... from pkg/plugins/newrelic
  • go vet ./... from pkg/plugins/newrelic
  • $env:VERSION='dev'; $env:COMMIT='codex'; ./tools/build-plugins ./pkg/plugins/newrelic/go.mod
  • git diff --check

Fixes #49.

@Zaid-L9 Zaid-L9 force-pushed the plugin/newrelic-usage-costs branch 3 times, most recently from baa4fb1 to e0ae949 Compare May 11, 2026 03:21
@Zaid-L9 Zaid-L9 mentioned this pull request May 11, 2026
Signed-off-by: Zaid-L9 <131145538+Zaid-L9@users.noreply.github.com>
@Zaid-L9 Zaid-L9 force-pushed the plugin/newrelic-usage-costs branch from e0ae949 to a79f27a Compare May 11, 2026 03:27
@Zaid-L9 Zaid-L9 changed the title Add New Relic usage plugin bounty: Add New Relic usage plugin May 11, 2026
Signed-off-by: UncleReV <zaid123.lafi@gmail.com>
@Zaid-L9 Zaid-L9 force-pushed the plugin/newrelic-usage-costs branch from 6ed8d97 to c02518a Compare May 11, 2026 20:52
@Zaid-L9 Zaid-L9 closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Relic Plugin

1 participant