bss / newrelic-python-agent Goto Github PK
View Code? Open in Web Editor NEWManual git import of the newrelic python agent (https://pypi.python.org/pypi/newrelic/2.0.0.1).
Manual git import of the newrelic python agent (https://pypi.python.org/pypi/newrelic/2.0.0.1).
New Relic Python Agent ====================== Thanks for trying the New Relic Python agent. (C) Copyright 2010-2013 New Relic Inc. All rights reserved. See the 'INSTALL' file for installation instructions. See the 'newrelic/LICENSE' file for the licenses covering this software.
I get the error in a SaaS platform (newrelic-2.58.1.44)
Traceback (most recent call last):
File "/data1/www/htdocs/310/weiboxb/1/index.wsgi", line 10, in <module>
from myapp import app
File "/data1/www/htdocs/310/weiboxb/1/myapp/__init__.py", line 6, in <module>
from newrelic import agent
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/agent.py", line 1, in <module>
from .config import initialize, extra_settings
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/config.py", line 17, in <module>
import newrelic.core.agent
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/core/agent.py", line 17, in <module>
import newrelic.core.application
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/core/application.py", line 20, in <module>
from newrelic.core.data_collector import create_session
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/core/data_collector.py", line 38, in <module>
from ..common.system_info import (docker_container_id,
File "/data1/www/htdocs/310/weiboxb/1/site-packages/newrelic/common/system_info.py", line 10, in <module>
import multiprocessing
File "/usr/local/sae/python/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
from multiprocessing.util import SUBDEBUG, SUBWARNING
File "/usr/local/sae/python/lib/python2.7/multiprocessing/util.py", line 41, in <module>
from subprocess import _args_from_interpreter_flags
ImportError: cannot import name _args_from_interpreter_flags
Now the platform of my web application can not full support apm of python agent. Can I use features as many as possible without multiprocessing module?
In case anyone is looking for a more up to date mirror of the New Relic Python agent source, I have one here:
https://github.com/edmorley/newrelic-python-agent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.