Skip to main content

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

  1. Getting Started
  2. Installation
  3. Usage
  4. Configuration
  5. License
  6. Contributing

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newrelic-data-exporter-0.0.9.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

newrelic_data_exporter-0.0.9-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file newrelic-data-exporter-0.0.9.tar.gz.

File metadata

  • Download URL: newrelic-data-exporter-0.0.9.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.10.11

File hashes

Hashes for newrelic-data-exporter-0.0.9.tar.gz
Algorithm Hash digest
SHA256 19e730bfb3f55cc50b6dcc85d63c9152737fe7099ebea1bcbe72e66019968fb8
MD5 1b97635ce1ee830663c25c8dfcffa66c
BLAKE2b-256 33f40256115a4f5f208451b46fc85d7d78cb376150e21e273d161e638fd621f8

See more details on using hashes here.

File details

Details for the file newrelic_data_exporter-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: newrelic_data_exporter-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.10.11

File hashes

Hashes for newrelic_data_exporter-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 04f0adb7bed5ef85a162750d1fb295c3f284d12ef42836ea1115bee708b98839
MD5 25283d9ad2090a28bc59e632e44b67a3
BLAKE2b-256 a6d02af091e41bf8e2afd8c8dd1c47eccb07b1dc00d9ef8533235705485776fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page