-
Notifications
You must be signed in to change notification settings - Fork 16
Improves monitoring Neo4j standalone container docs #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improves monitoring Neo4j standalone container docs #175
Conversation
✅ Deploy Preview for priceless-fermi-5883f3 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Thanks for the documentation updates. The preview documentation has now been torn down - reopening this PR will republish it. |
AlexicaWright
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Editorial and formatting comments and suggestions.
Co-authored-by: Jessica Wright <[email protected]>
Co-authored-by: Jessica Wright <[email protected]>
Co-authored-by: Jessica Wright <[email protected]>
| NEO4J_server_metrics_prometheus_endpoint="localhost:2004" \ | ||
| NEO4J_server_metrics_filter="*" \ | ||
| agent console -s' | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think security configuration variables are also needed, ex.
CONFIG_TLS_TRUSTED_CERTS: "/certificates/server.cer"
EDIT: but maybe this one is not important since it is optional.
These properties are not needed for an agent (afaik):
NEO4J_ACCEPT_LICENSE_AGREEMENT="yes"
NEO4J_EDITION="enterprise"
NEO4J_server_metrics_prometheus_enabled="true"
NEO4J_server_metrics_prometheus_endpoint="localhost:2004"
NEO4J_server_metrics_filter="*"
This would also apply to the other env variable blocks on this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will update, thanks for introducing callouts
|
Ravi, I changed some shell formatting, hope that is okay! |
lidiazuin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some editorial suggestions. Could you please take a look too @AlexicaWright ?
| neo4j/neo4j:latest | ||
| ---- | ||
|
|
||
| <1> Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <1> Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. | |
| Note that: | |
| . The Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think callouts make more sense in this section than a note. WDYT @AlexicaWright ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ravikiran-sulikeri Ravi, fyi, there is currently an issue with callouts but I added them in anticipation that it gets fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for word on whether it's getting fixed in the near future. If so, I'd say keep the annotation.
| ---- | ||
|
|
||
| <1> Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. | ||
| <2> Neo4j prometheus endpoint port (2004) needs to be exposed via port mapping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <2> Neo4j prometheus endpoint port (2004) needs to be exposed via port mapping. | |
| . Neo4j Prometheus endpoint port (2004) needs to be exposed via port mapping. |
|
|
||
| <1> Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. | ||
| <2> Neo4j prometheus endpoint port (2004) needs to be exposed via port mapping. | ||
| <3> Query log port (9500) needs to be mapped for log appender to forward query logs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <3> Query log port (9500) needs to be mapped for log appender to forward query logs. | |
| . Query log port (9500) needs to be mapped for log appender to forward query logs. |
Co-authored-by: Lidia Zuin <[email protected]>
Co-authored-by: Alexander Bouriakov <[email protected]>
alexnb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| neo4j/neo4j:latest | ||
| ---- | ||
|
|
||
| <1> Neo4j home directory needs to be mounted back on the Docker host to enable access to agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for word on whether it's getting fixed in the near future. If so, I'd say keep the annotation.
Co-authored-by: Jessica Wright <[email protected]> Co-authored-by: Lidia Zuin <[email protected]>
AlexicaWright
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* Improves monitoring Neo4j standalone container docs * minor edits * Update modules/ROOT/pages/addition/docker/container.adoc Co-authored-by: Jessica Wright <[email protected]> * Update modules/ROOT/pages/addition/docker/container.adoc Co-authored-by: Jessica Wright <[email protected]> * Apply suggestions from code review Co-authored-by: Jessica Wright <[email protected]> * correct the doc formmating * formatted shell commands * combined 3 shell blocks into one with callouts * fix agent env config scripts * Apply suggestions from code review Co-authored-by: Lidia Zuin <[email protected]> * Update modules/ROOT/pages/addition/docker/container.adoc Co-authored-by: Alexander Bouriakov <[email protected]> * Apply suggestions from code review Co-authored-by: Jessica Wright <[email protected]> Co-authored-by: Lidia Zuin <[email protected]> --------- Co-authored-by: Jessica Wright <[email protected]> Co-authored-by: Alexander Bouriakov <[email protected]> Co-authored-by: Lidia Zuin <[email protected]>
… (#181) Improves monitoring Neo4j standalone container docs (#175) * Improves monitoring Neo4j standalone container docs * minor edits * Update modules/ROOT/pages/addition/docker/container.adoc * Update modules/ROOT/pages/addition/docker/container.adoc * Apply suggestions from code review * correct the doc formmating * formatted shell commands * combined 3 shell blocks into one with callouts * fix agent env config scripts * Apply suggestions from code review * Update modules/ROOT/pages/addition/docker/container.adoc * Apply suggestions from code review --------- Co-authored-by: Jessica Wright <[email protected]> Co-authored-by: Alexander Bouriakov <[email protected]> Co-authored-by: Lidia Zuin <[email protected]>
If you open a PR that needs to go into a current version, you need to cherry-pick your commit from dev over to the current version branch. Only then will the proper builds that generate html/pdf be run. But beware: Docs will be generated but not published automatically!
Trello