You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
The file follows the required naming convention.
The content is clearly structured and follows the example format.
I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
I have run npm start and verified that README.md is up to date.
I am targeting the main branch for this pull request.
Description
Summary
Align New Relic APM, FinOps, Kubernetes, and incident-response agents with current Copilot models and New Relic MCP tools.
Replace generic APM guidance with a focused New Relic investigation workflow.
Remove the duplicate generic New Relic MCP agent and prompt-secrecy boilerplate.
Clarify that CloudCostV2Test is an example test dataset, not a universal production event type.
Regenerate the agent README.
Validation
npm run build passed.
Diagnostics passed for all four New Relic agents.
git diff --check passed.
Copilot Testing
Live testing with a configured New Relic MCP server was not performed. Before merge, select each agent in Copilot and verify its tools and a representative read-only query against a test account.
Type of Contribution
New instruction file.
New prompt file.
New agent file.
New plugin.
New skill file.
New agentic workflow.
New canvas extension.
Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
Other (please specify):
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.
Risk tier:merge-risk:medium — New or substantially changed resource without privileged execution Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access.
Why this tier
Adds 3 file(s), e.g. agents/new-relic-apm.agent.md
Expands the New Relic agent collection with focused APM, FinOps, and Kubernetes investigation workflows and updates the existing incident-response agent.
Changes:
Adds three agents with New Relic MCP guidance and domain-specific investigation examples.
Updates model preferences across all four agents and clarifies the FinOps example dataset.
Regenerates the agent catalog with descriptions and installation links.
File
Description
docs/README.agents.md
Adds catalog entries for the three new agents.
agents/new-relic-kubernetes.agent.md
Adds Kubernetes diagnostics and telemetry query examples.
agents/new-relic-incident-response.agent.md
Updates model preferences.
agents/new-relic-finops.agent.md
Adds cloud-cost analysis workflows and NRQL examples.
agents/new-relic-apm.agent.md
Adds a focused application-performance investigation workflow.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Scalar tools declarations in the FinOps and Kubernetes agent profiles cause tools.forEach(...) to throw, blocking website data generation and deployment.
Exclude succeeded Jobs from the pod readiness check
agents/new-relic-kubernetes.agent.md:165
A successfully completed Job pod has status = 'Succeeded' and is no longer ready, so this predicate reports healthy completed work as unhealthy. In namespaces with many Jobs, those samples can also consume the 100-row limit and obscure actual failures. Exclude successful completion and apply the readiness check only to running pods.
Filter logs by namespace as well as pod
agents/new-relic-kubernetes.agent.md:265
[P2] Include the namespace in this log filter. Pod names are unique only within a namespace: two namespaces can both contain a StatefulSet pod named redis-0. Filtering only by cluster and pod then mixes their logs, allowing errors from an unrelated workload to be attributed to the investigated pod. Use the namespace established in Step 1.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Unresolved query errors can break the cost breakdown, falsely flag completed pods or historical restarts as active problems, and mix logs across namespaces.
Remove unsupported standalone ORDER BY from faceted query
agents/new-relic-finops.agent.md:188
This is a standalone row-level ORDER BY, which the NRQL reference says does not apply to FACET queries. It is not the FACET ... ORDER BY modifier either, which must immediately follow the facet and use an aggregate function. Remove this unsupported clause; the first selected sum() already ranks facets descending, so LIMIT 10 gives the requested top ten services.
Exclude successfully completed pods from unhealthy pod detection
agents/new-relic-kubernetes.agent.md:165
Successful Job/CronJob pods normally have status = 'Succeeded' and are not Ready, so this predicate reports ordinary completed jobs as unhealthy pods. Exclude successful terminal pods before applying the status/readiness check to avoid false incident candidates in namespaces with batch workloads.
Include namespace when querying pod logs
agents/new-relic-kubernetes.agent.md:265
Pod names are unique only within a namespace. For example, two namespaces can both contain a StatefulSet pod named api-0, so this query combines their logs despite the namespace scoped in investigation step 1. Include namespace_name to avoid diagnosing the selected workload using another namespace's errors.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The agent examples contain invalid NRQL and filtering errors that can cause query failures, false Kubernetes incidents, misattributed logs, and incomplete cost results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Summary
CloudCostV2Testis an example test dataset, not a universal production event type.Validation
npm run buildpassed.git diff --checkpassed.Copilot Testing
Live testing with a configured New Relic MCP server was not performed. Before merge, select each agent in Copilot and verify its tools and a representative read-only query against a test account.
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.