Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
newrelic / newrelic / admin / data_source.py
Size: Mime:
from __future__ import print_function

from newrelic.admin import command, usage

@command('data-source', 'config_file',
"""Loads the data sources specified in the agent configuration file and
reports data from those data sources using the platform API.
""", log_intercept=False)
def data_source(args):
    import sys

    if len(args) == 0:
        usage('data-source')
        sys.exit(1)

    from newrelic.platform import run

    run(*args)