Skip to content

maciejsmolinski/emacs-newrelic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

emacs-newrelic

An unofficial New Relic client package.

Provides a set of commands for interacting with New Relic through the official GraphQL API.

Installation

This package is not yet published.

Please clone the repository, add it to your load path and require the package:

(add-to-list 'load-path' "~/emacs-newrelic")
(require 'newrelic)

Configuration

  1. Generate your API key on this page
  2. Configure the package to use your API key with
(setq newrelic-api-key "<YOUR-API-KEY>")

Usage

This package exposes a set of useful commands for interacting with your New Relic account

  • newrelic-dashboards gives a quick access to your dashboards
  • newrelic-nrql-eval opens a prompt allowing to write and execute NRQL queries, renders chart picture
  • newrelic-nrql-eval-line executes NRQL from the current line in the buffer, renders chart picture
  • newrelic-nrql-eval-region executes NRQL from the selected region, renders chart picture

Development

Add the path of the cloned repository to the 'load-path variable to make local requires work.

(add-to-list 'load-path' "~/emacs-newrelic")

Note: this can be done either in your configuration, or the repl ielm M-x ielm, or by typing the following line after running M-x eval-expression.

About

🔭 An unofficial New Relic client package for Emacs

Resources

Stars

Watchers

Forks