Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
c206f79b
Commit
c206f79b
authored
Apr 03, 2017
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tentative stab at adding newrelic monitoring to coursegraph (SUST-81)
parent
bb64152a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
playbooks/roles/neo4j/tasks/main.yml
+28
-2
playbooks/roles/neo4j/templates/etc/neo4j/newrelic.yml.j2
+0
-0
No files found.
playbooks/roles/neo4j/tasks/main.yml
View file @
c206f79b
...
@@ -72,9 +72,35 @@
...
@@ -72,9 +72,35 @@
-
install
-
install
-
install:configuration
-
install:configuration
-
name
:
set to run neo4j with the newrelic javaagent
# see https://docs.newrelic.com/docs/agents/java-agent/installation/java-agent-manual-installation
lineinfile
:
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
wrapper.java.additional.2="
line
:
"
wrapper.java.additional.2=/etc/neo4j/newrelic.jar"
tags
:
-
install
-
install:configuration
-
name
:
store jar file for javaagent
copy
:
src
:
newrelic.jar
dest
:
/etc/neo4j
# just guessing? No idea what mode we'd need
mode
:
"
0644"
tags
:
-
install
-
install:configuration
-
template
:
src
:
../templates/etc/neo4j/newrelic.yml.j2
dest
:
/etc/neo4j/newrelic.yml
# owner: do I need one?
mode
:
0644
-
name
:
restart neo4j
-
name
:
restart neo4j
service
:
service
:
name
:
neo4j
name
:
neo4j
state
:
restarted
state
:
restarted
tags
:
tags
:
-
manage
-
manage
...
...
playbooks/roles/neo4j/templates/etc/neo4j/newrelic.yml.j2
0 → 100644
View file @
c206f79b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment