Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

How to enable Deployment history in Newrelic?

The deployments resource allows for querying, creating and deleting deployment records for an application.

Deployment history

NewRelic Deployments feature reveals the impact of deployments on your application’s performance. You’ll quickly see whether the deployment had a positive or negative impact on CPU, memory, response time, throughput, database activity, or errors.

New Relic Pro customers can come here to see details of their application deployment history, including:

  • Date & time
  • Revision number
  • Aggregate metrics for the deployed code:
  • Apdex score
  • CPU usage
  • Memory usage
  • Response time
  • Throughput
  • Error rate

How to track enable deployments with New Relic?

Send deployment information from the Java agent jar file?

$ java -jar newrelic.jar deployment DEPLOYMENT_OPTIONS
$ echo "get SHA-1 34837888734" | java -jar newrelic.jar deployment DEPLOYMENT_OPTIONS --changes
$ java -jar newrelic.jar deployment user=$deployed_by revision=$deployment_versioncat
$ change.log | java -jar newrelic.jar deployment --changes --revision="Summer Sale Event"Code language: PHP (php)

Send deployment information directly via HTTPS

This API endpoint creates a deployment record for a given application. Deployment records are created with the following attributes:

Required:

  • Application ID
  • Revision, such as a git SHA

Optional:

  • Changelog
  • Description
  • User posting the deployment
  • Timestamp of the deployment

Reference
https://rpm.newrelic.com/api/explore/application_deployments/create

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.