Skip to content

Commit

Permalink
Updated lampy-integration docs
Browse files Browse the repository at this point in the history
Ticket URL: https://issues.newrelic.com/browse/NR-121083
Description: LAMPy docs under Step 4 updated vaild format line and Updated step5.
  • Loading branch information
RamanaReddy8801 committed May 30, 2023
1 parent 53cd95c commit 17c8e69
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ Our LAMPy integration relies on the Python agent to work. To learn more and chec
2. Name your application.
3. Download the configuration file and place it in your application's root directory.
4. Integrate your python agent that is connected to Django web site. This python agent also runs on the Apache server.
5. Update the wsgi.py and settings.py files:
* `settings.py`
* `NEW_RELIC_CONFIG_FILE = BASE_DIR`
* `downloaded_newrelic_file`
6. Add the lines below to your `wsgi.py`
5. Add the below line to your `settings.py` file:
* `NEW_RELIC_CONFIG_FILE = BASE_DIR / 'newrelic.ini'`
6. Add the lines below to your `wsgi.py` file:

```
import newrelic.agent
Expand All @@ -69,7 +67,7 @@ Our LAMPy integration relies on the Python agent to work. To learn more and chec
newrelic.agent.initialize(settings.NEW_RELIC_CONFIG_FILE)
newrelic.agent.WSGIApplicationWrapper(application)
```
8. Restart your Apache server.
## Step 5: Restart your Apache server.

Wait five minutes and then proceed to finding your data in New Relic.

Expand Down

0 comments on commit 17c8e69

Please sign in to comment.