René's URL Explorer Experiment


Title: fix: New Relic integration commands have incorrect parameters and endpoints · Issue #191 · cortexapps/cli · GitHub

Open Graph Title: fix: New Relic integration commands have incorrect parameters and endpoints · Issue #191 · cortexapps/cli

X Title: fix: New Relic integration commands have incorrect parameters and endpoints · Issue #191 · cortexapps/cli

Description: Summary The New Relic integration CLI commands were implemented with incorrect parameters and endpoints that don't match the actual Cortex API specification. Issues Found 1. Wrong Parameters in add Command File: cortexapps_cli/commands/i...

Open Graph Description: Summary The New Relic integration CLI commands were implemented with incorrect parameters and endpoints that don't match the actual Cortex API specification. Issues Found 1. Wrong Parameters in add...

X Description: Summary The New Relic integration CLI commands were implemented with incorrect parameters and endpoints that don't match the actual Cortex API specification. Issues Found 1. Wrong Parameters in...

Opengraph URL: https://github.com/cortexapps/cli/issues/191

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fix: New Relic integration commands have incorrect parameters and endpoints","articleBody":"## Summary\nThe New Relic integration CLI commands were implemented with incorrect parameters and endpoints that don't match the actual Cortex API specification.\n\n## Issues Found\n\n### 1. Wrong Parameters in `add` Command\n**File**: `cortexapps_cli/commands/integrations_commands/newrelic.py:12,30`\n\n- **Missing required parameter**: `accountId` is required by API but not present in CLI\n- **Wrong parameter name**: CLI uses `--api-key` flag and sends `apiKey` in JSON payload\n  - API expects: `personalKey`\n  - CLI sends: `apiKey`\n- **Wrong parameter**: CLI has `--host` parameter\n  - API expects: `region` (values: \"US\" or \"EU\")\n  - CLI has: `host` (free-form string)\n\n### 2. Wrong HTTP Method for `add_multiple`\n**File**: `cortexapps_cli/commands/integrations_commands/newrelic.py:54`\n\n- CLI uses: `client.put(\"api/v1/newrelic/configurations\")`\n- API expects: `POST /api/v1/newrelic/configurations`\n- Note: Test file correctly expects POST, but implementation uses PUT\n\n### 3. Wrong Endpoint for `validate` Command\n**File**: `cortexapps_cli/commands/integrations_commands/newrelic.py:156`\n\n- CLI uses: `client.post(\"api/v1/newrelic/configurations/validate\" + alias)`\n  - Missing slash before alias\n  - Wrong path structure\n- API expects: `POST /api/v1/newrelic/configuration/validate/{alias}` (singular \"configuration\")\n\n### 4. Wrong Endpoint for `validate_all` Command\n**File**: `cortexapps_cli/commands/integrations_commands/newrelic.py:169`\n\n- CLI uses: `client.post(\"api/v1/newrelic/configurations\")`\n- API expects: `POST /api/v1/newrelic/configuration/validate` (singular, with /validate)\n\n## Test File Issues\n\n**File**: `tests/test_integrations_newrelic.py`\n\n- Line 18: Expects POST (correct) but implementation uses PUT\n- Line 53: Wrong endpoint - expects `/configuration/validate/test` should be `/configuration/validate/{alias}`\n- Line 58: Endpoint is correct\n\n## Root Cause\nThe New Relic integration commands appear to have been copied from another integration without proper adaptation to the New Relic API specification.\n\n## API Documentation Reference\nhttps://docs.cortex.io/api/readme/integrations/new-relic\n\n## Required Fixes\n1. Update `add` command to include `--account-id` parameter\n2. Rename `--api-key` to `--personal-key` and update JSON payload key\n3. Replace `--host` with `--region` parameter (with US/EU validation)\n4. Change `add_multiple` from PUT to POST\n5. Fix `validate` endpoint path\n6. Fix `validate_all` endpoint path\n7. Update all corresponding test expectations","author":{"url":"https://github.com/jeff-schnitter","@type":"Person","name":"jeff-schnitter"},"datePublished":"2026-01-23T18:32:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/191/cli/issues/191"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:24788015-ce86-a561-ed25-a06b0de46fbc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBBEE:1E3F:1EB497:272AA0:6992A3E2
html-safe-nonce50ff2caf8e9bb37be322f3f2a038f3f87f0503a9a06e72e777fc07eedb500455
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkVFOjFFM0Y6MUVCNDk3OjI3MkFBMDo2OTkyQTNFMiIsInZpc2l0b3JfaWQiOiIzOTMxMjY4Mjk0NjE5ODY2MDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac80cd90ba23bb48c2171b2f78fba732a7b444a9ddeeff07abb917f9a4c270cb0c
hovercard-subject-tagissue:3848667423
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cortexapps/cli/191/issue_layout
twitter:imagehttps://opengraph.githubassets.com/653544eafefd6172efc424488858afd068a6f55600f982c63cfda4de3e7e3e2f/cortexapps/cli/issues/191
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/653544eafefd6172efc424488858afd068a6f55600f982c63cfda4de3e7e3e2f/cortexapps/cli/issues/191
og:image:altSummary The New Relic integration CLI commands were implemented with incorrect parameters and endpoints that don't match the actual Cortex API specification. Issues Found 1. Wrong Parameters in add...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeff-schnitter
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/cortexapps/cli git https://github.com/cortexapps/cli.git
octolytics-dimension-user_id59035319
octolytics-dimension-user_logincortexapps
octolytics-dimension-repository_id710966436
octolytics-dimension-repository_nwocortexapps/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id710966436
octolytics-dimension-repository_network_root_nwocortexapps/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cortexapps/cli/issues/191#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcortexapps%2Fcli%2Fissues%2F191
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcortexapps%2Fcli%2Fissues%2F191
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cortexapps%2Fcli
Reloadhttps://github.com/cortexapps/cli/issues/191
Reloadhttps://github.com/cortexapps/cli/issues/191
Reloadhttps://github.com/cortexapps/cli/issues/191
cortexapps https://github.com/cortexapps
clihttps://github.com/cortexapps/cli
Notifications https://github.com/login?return_to=%2Fcortexapps%2Fcli
Fork 1 https://github.com/login?return_to=%2Fcortexapps%2Fcli
Star 17 https://github.com/login?return_to=%2Fcortexapps%2Fcli
Code https://github.com/cortexapps/cli
Issues 22 https://github.com/cortexapps/cli/issues
Pull requests 0 https://github.com/cortexapps/cli/pulls
Discussions https://github.com/cortexapps/cli/discussions
Actions https://github.com/cortexapps/cli/actions
Projects 0 https://github.com/cortexapps/cli/projects
Wiki https://github.com/cortexapps/cli/wiki
Security 0 https://github.com/cortexapps/cli/security
Insights https://github.com/cortexapps/cli/pulse
Code https://github.com/cortexapps/cli
Issues https://github.com/cortexapps/cli/issues
Pull requests https://github.com/cortexapps/cli/pulls
Discussions https://github.com/cortexapps/cli/discussions
Actions https://github.com/cortexapps/cli/actions
Projects https://github.com/cortexapps/cli/projects
Wiki https://github.com/cortexapps/cli/wiki
Security https://github.com/cortexapps/cli/security
Insights https://github.com/cortexapps/cli/pulse
New issuehttps://github.com/login?return_to=https://github.com/cortexapps/cli/issues/191
New issuehttps://github.com/login?return_to=https://github.com/cortexapps/cli/issues/191
fix: New Relic integration commands have incorrect parameters and endpointshttps://github.com/cortexapps/cli/issues/191#top
bugSomething isn't workinghttps://github.com/cortexapps/cli/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/jeff-schnitter
https://github.com/jeff-schnitter
jeff-schnitterhttps://github.com/jeff-schnitter
on Jan 23, 2026https://github.com/cortexapps/cli/issues/191#issue-3848667423
https://docs.cortex.io/api/readme/integrations/new-relichttps://docs.cortex.io/api/readme/integrations/new-relic
bugSomething isn't workinghttps://github.com/cortexapps/cli/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.