Type: INGEST-LICENSE Name: cloud.gov app log Notes: <date> created
Run the following command to get the current New Relic license key details:
cf env inventory | grep -i relic -C 11
Copy all credentials and save them to a local file, e.g., secrets.json.
Update the NEW_RELIC_LICENSE_KEY field in the JSON file with New Key:
{ ... "NEW_RELIC_LICENSE_KEY": <NEW_KEY_HERE>, ... }
Target the appropriate space (development/staging/prod) cf t -s xxx
cf t -s xxx
Update user-provided service instances with the new secrets:
development space: cf uups inventory-secrets -p dev-inventory-secrets.json cf uups catalog-secrets -p dev-catalog-secrets.json staging space: cf uups inventory-secrets -p staging-inventory-secrets.json cf uups catalog-secrets -p staging-catalog-secrets.json prod space: cf uups inventory-secrets -p prod-inventory-secrets.json cf uups catalog-secrets -p prod-catalog-secrets.json
Note: Development environment: apps must be restarted manually. Staging and Prod environment: GitHub Actions will restart the apps automatically.
For other non-inventory and catalog apps, check and update their secrets separately. Repeat step2 and step3:
catalog-secrets datagov-harvest-secrets catalog-next-secrets
cf t -s <development-ssb/management-staging/management> cf set-env logstack-shipper NEWRELIC_LICENSE_KEY <NEW_KEY> cf rs logstack-shipper
After verify the new log entries appear in the New Relic Logs, delete old key from New Relic API Keys page.
There was an error while loading. Please reload this page.