A tool to export data from New Relic using GraphQL API
Project description
NewRelic Data Exporter
NewRelic Data Exporter is a Python tool designed to streamline the process of extracting data from NewRelic.
Table of Contents
Getting Started
This tool requires Python 3.7 or newer. Before installing and using this tool, ensure that you have the correct Python version installed.
Installation
You can install the NewRelic Data Exporter package from PyPI:
pip install newrelic-data-exporter
Usage
After installation, you can run the NewRelic Data Exporter from the command line:
newrelic_data_exporter --domain <domain> --output <output file> --config <configuration file>
Here, <domain>
can be all
, apm
, or synth
; <output file>
is the name of the Excel file to which the data will be exported; and <configuration file>
is the path to the user-provided YAML configuration file.
Configuration
The configuration file must be in YAML format. It should contain account data, queries, and resource headers and keys as per the requirements of the NewRelic API. For example:
accounts:
- api_key: "<your-api-key>"
tags:
- name: "<tag-name>"
value: "<tag-value>"
You will need to replace <your-api-key>
, <tag-name>
, and <tag-value>
with your own data.
License
This project is licensed under the MIT License. This allows you to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software under certain conditions. For more information, see the LICENSE
file in the project root.
Contributing
Contributions are welcome! Please read the CONTRIBUTING.md
file for details on our code of conduct, and the process for submitting pull requests to us.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for newrelic-data-exporter-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e730bfb3f55cc50b6dcc85d63c9152737fe7099ebea1bcbe72e66019968fb8 |
|
MD5 | 1b97635ce1ee830663c25c8dfcffa66c |
|
BLAKE2b-256 | 33f40256115a4f5f208451b46fc85d7d78cb376150e21e273d161e638fd621f8 |
Hashes for newrelic_data_exporter-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f0adb7bed5ef85a162750d1fb295c3f284d12ef42836ea1115bee708b98839 |
|
MD5 | 25283d9ad2090a28bc59e632e44b67a3 |
|
BLAKE2b-256 | a6d02af091e41bf8e2afd8c8dd1c47eccb07b1dc00d9ef8533235705485776fc |