Coder Social home page Coder Social logo

uwsgi-newrelic's Introduction

uwsgi-newrelic's People

Contributors

jnhasty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uwsgi-newrelic's Issues

Setting of environment variable wrong.

In your example you have:

env NEW_RELIC_CONFIG_FILE=/path/to/newrelic.ini
exec newrelic-admin run-program /usr/local/bin/uwsgi --ini /path/to/uwsgi.ini

This will not work, or if it works on some systems, doesn't work on others.

We have had to correct this with a few users. You should use:

NEW_RELIC_CONFIG_FILE=/path/to/newrelic.ini
export NEW_RELIC_CONFIG_FILE

exec newrelic-admin run-program /usr/local/bin/uwsgi --ini /path/to/uwsgi.ini

The need to set and export variables like this is given in the New Relic documentation:

Where is uwsgi.cof

Hi

Thanks for this package, but how can I access to uwsgi.conf file?

I'm using NginX + uwsgi + django

Can't get your config to work

Hey! I stumbled upon your blog post and this repo when trying to set up new relic on my own uWSGI app, but I haven't been able to succeed.

I've set newrelic.ini to log to stderr so it 'should' log to my uwsgi log file, although I got it to log an error message in there once, but I haven't been able to make it do it again, since.

Maybe if you have a few minutes you could have a look at my config and let me know if you see any obvious mistakes?

Thanks in advance.

I use uWSGI in emperor mode hence the config below

https://gist.github.com/Dinoshauer/e04f4aa6524b07e5e555

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.