Interface NewRelicClient

  • All Known Implementing Classes:

    public interface NewRelicClient
    REST client interface for the New Relic API.
    • Method Detail

      • sendNotification

        void sendNotification​(String apiKey,
                              String applicationId,
                              String description,
                              String revision,
                              String changelog,
                              String user)
                       throws IOException
        Submit deployment notification
        apiKey - New Relic API key
        applicationId - Application to register deployment for
        description - Text annotation for the deployment
        revision - The revision number from your source control system
        changelog - A list of changes for this deployment
        user - The name of the user/process that triggered this deployment
        IOException - when HttpClient is not able to be closed or unexpected status code received
        See Also:
      • getApiEndpoint

        String getApiEndpoint()
        Get API Endpoint URL for looking up credentials.
        The endpoint URL for the New Relic API