-
Notifications
You must be signed in to change notification settings - Fork 27
WIP fleet management documentation #705
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
Merged
AlexicaWright
merged 49 commits into
neo4j:console
from
alexnb:alexnb/fleet-management-documentation
Sep 5, 2025
Merged
Changes from 26 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
dd4592a
WIP fleet management documentation
alexnb dde4288
WIP fleet management documentation
alexnb a6e3407
update
alexnb a656a95
update
alexnb b95a086
Reorganize and add more pages
SeBBBe e4add74
Add setup page
SeBBBe eae49fb
Document setup steps
SeBBBe 9b31a15
Add overview of procedures
SeBBBe f63a79e
Inspect pane docs
SeBBBe 8fa524f
Document graph and details
SeBBBe 49f2450
Add screenshot and controls
SeBBBe 8d4c869
Clean up overview page
SeBBBe 58b27a5
Deployment details and doc link
SeBBBe 8cfda52
Add section on security
SeBBBe e09d2d5
Regenerate data.adoc with pr suggestions
SeBBBe e12e669
Make type col smaller to fit the field name
SeBBBe 46a9e70
Table formatting
SeBBBe e5a0f05
Fix broken row
SeBBBe 57057bb
Update modules/ROOT/pages/fleet-management/overview.adoc
SeBBBe 5542b61
Update modules/ROOT/pages/fleet-management/overview.adoc
SeBBBe df1426e
Update modules/ROOT/pages/fleet-management/overview.adoc
SeBBBe 09ea4c5
Apply suggestions from code review
SeBBBe ed8b7e1
Fix errors in linking
SeBBBe c44d78e
Apply suggestions from code review 'graph-view.adoc'
SeBBBe 3c38144
Apply suggestions from code review
SeBBBe 3ac1178
Apply suggestions from code review
SeBBBe 92a592d
Fixup
SeBBBe 267d11a
Apply suggestions from code review
SeBBBe 056e46c
Eliminate most mentions of cluster
SeBBBe b7a1611
Merge conflicts
SeBBBe 2a52ae1
Add descriptions and some more info on the overview page
SeBBBe 73db7ea
Move the fleet management section up
SeBBBe 2065c06
Update overview ingress
SeBBBe d105f93
Add info about compatibility and CE
SeBBBe 4d96b20
Slight tweak
SeBBBe 2477a09
Reshuffling
SeBBBe 90924c0
Add some info about active configuration
SeBBBe 1a7f1e7
documented permissions
alexnb fa53e02
update screenshot to match the UI
alexnb 9d6f505
changes from Jessica
alexnb 077cfb9
changes from Jessica
alexnb 41a974e
add something
AlexicaWright e8cb800
Merge branch 'console' into alexnb/fleet-management-documentation
alexnb b8fb7c2
rewrite instance actions
AlexicaWright e238b0d
typo
AlexicaWright 6962eff
a small rewrite
AlexicaWright 8541bb6
one last thing
AlexicaWright 1143619
edit
AlexicaWright 505a1ed
Merge branch 'console' into alexnb/fleet-management-documentation
AlexicaWright File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
= Data transparency | ||
|
||
This page describes the data structures used in fleet management messages. | ||
|
||
== `ConnectMessage` | ||
|
||
Message sent from the plugin to the Fleet Management service to establish a connection. | ||
|
||
[options="header", cols="2,1,2"] | ||
|=== | ||
|Field |Type |Description | ||
| `server_id` | ||
| String | ||
| Unique identifier for the server | ||
| `name` | ||
| String | ||
| Name of the server | ||
| `dbms_id` | ||
| String | ||
| Unique identifier for the DBMS | ||
| `server_version` | ||
| String | ||
| Version of the server | ||
| `project_id` | ||
| String | ||
| Identifier for the project | ||
| `plugin_version` | ||
| String | ||
| Version of the plugin | ||
| `build_profile` | ||
| String | ||
| Build profile of the plugin | ||
|=== | ||
|
||
== `MetricsMessage` | ||
|
||
Message sent from the plugin to the Fleet Management service containing metrics data. | ||
|
||
[options="header", cols="2,1,2"] | ||
|=== | ||
|Field |Type |Description | ||
| `timestamp` | ||
| long | ||
| Unix timestamp in milliseconds when the message was created | ||
| `project_id` | ||
| String | ||
| Identifier for the project | ||
| `dbms_id` | ||
| String | ||
| Unique identifier for the DBMS | ||
| `server_id` | ||
| String | ||
| Unique identifier for the server | ||
| `metrics` | ||
| Map<String, List<DataPoint>> | ||
| Map of metric names to lists of DataPoint objects. Values are dynamically populated from the Fleet Management server. | ||
| `metrics<>[].tags` | ||
| Map<String, String> | ||
| Map of string key-value pairs providing additional context for the metric | ||
| `metrics<>[].value` | ||
| Double | ||
| Double value representing the metric measurement | ||
|=== | ||
|
||
== `Neo4jConfigMessage` | ||
|
||
Message sent from the plugin to the Fleet Management service containing neo4j configuration data. | ||
|
||
[options="header", cols="2,1,2"] | ||
|=== | ||
|Field |Type |Description | ||
| `timestamp` | ||
| long | ||
| Unix timestamp in milliseconds when the message was created | ||
| `project_id` | ||
| String | ||
| Identifier for the project | ||
| `dbms_id` | ||
| String | ||
| Unique identifier for the DBMS | ||
| `server_id` | ||
| String | ||
| Unique identifier for the server | ||
| `neo4j_config` | ||
| Map<String, Object> | ||
| Map of neo4j config names to config values. Values are dynamically populated from the Fleet Management server. | ||
|=== | ||
|
||
== `PingMessage` | ||
|
||
Message sent from the plugin to the Fleet Management service to retrieve configuration updates. | ||
|
||
[options="header", cols="2,1,2"] | ||
|=== | ||
|Field |Type |Description | ||
| `server_id` | ||
| String | ||
| Unique identifier for the server | ||
| `server_version` | ||
| String | ||
| Version of the server | ||
| `project_id` | ||
| String | ||
| Identifier for the project | ||
|=== | ||
|
||
== `ReportingMessage` | ||
|
||
Message sent from the plugin to the Fleet Management service containing reporting data. | ||
|
||
[options="header", cols="2,1,2"] | ||
|=== | ||
|Field |Type |Description | ||
| `timestamp` | ||
| long | ||
| Unix timestamp in milliseconds when the message was created | ||
| `projectId` | ||
| String | ||
| Identifier for the project | ||
| `dbms` | ||
| Dbms | ||
| DBMS information object | ||
| `dbms.dbmsId` | ||
| String | ||
| Unique identifier for the DBMS | ||
| `dbms.serverId` | ||
| String | ||
| Unique identifier for the server | ||
| `dbms.databases` | ||
| List<String> | ||
| List of database names | ||
| `dbms.edition` | ||
| String | ||
| Edition of the DBMS (e.g., Enterprise, Community) | ||
| `dbms.packaging` | ||
| String | ||
| Packaging of DBMS installation | ||
| `dbms.servers` | ||
| List<Server> | ||
| List of servers in the DBMS cluster | ||
| `dbms.servers[].serverId` | ||
| String | ||
| Unique identifier for the server | ||
| `dbms.servers[].name` | ||
| String | ||
| Name of the server | ||
| `dbms.servers[].address` | ||
| String | ||
| Network address of the server | ||
| `dbms.servers[].health` | ||
| String | ||
| Current health status of the server | ||
| `dbms.servers[].state` | ||
| String | ||
| Current state of the server | ||
| `dbms.servers[].modeConstraint` | ||
| String | ||
| Mode constraint of the server | ||
| `dbms.servers[].version` | ||
| String | ||
| Neo4j version of the server | ||
| `dbms.servers[].databases` | ||
| List<Database> | ||
| List of databases hosted on this server | ||
| `dbms.servers[].databases[].name` | ||
| String | ||
| Name of the database | ||
| `dbms.servers[].databases[].role` | ||
| String | ||
| Role of the database in the cluster | ||
| `dbms.servers[].databases[].type` | ||
| String | ||
| Type of the database in the cluster | ||
| `dbms.servers[].databases[].aliases` | ||
| List<String> | ||
| List of database aliases | ||
| `dbms.servers[].databases[].access` | ||
| String | ||
| Access level of the database | ||
| `dbms.servers[].databases[].databaseId` | ||
| String | ||
| Unique identifier for the database | ||
| `dbms.servers[].databases[].requestedStatus` | ||
| String | ||
| Requested status of the database | ||
| `dbms.servers[].databases[].currentStatus` | ||
| String | ||
| Current status of the database | ||
| `dbms.servers[].databases[].statusMessage` | ||
| String | ||
| Status message describing the current state | ||
| `dbms.servers[].databases[].default` | ||
| boolean | ||
| Whether this is the default database | ||
| `dbms.servers[].databases[].home` | ||
| boolean | ||
| Whether this is the home database | ||
| `dbms.servers[].databases[].currentPrimariesCount` | ||
| Integer | ||
| Current number of primaries for this database | ||
| `dbms.servers[].databases[].currentSecondariesCount` | ||
| Integer | ||
| Current number of secondaries for this database | ||
| `dbms.servers[].databases[].requestedPrimariesCount` | ||
| Integer | ||
| Requested number of primaries for this database | ||
| `dbms.servers[].databases[].requestedSecondariesCount` | ||
| Integer | ||
| Requested number of secondaries for this database | ||
| `dbms.servers[].databases[].creationTime` | ||
| long | ||
| Timestamp when the database was created | ||
| `dbms.servers[].databases[].lastStartTime` | ||
| long | ||
| Timestamp when the database was last started | ||
| `dbms.servers[].databases[].store` | ||
| String | ||
| Store format of the database | ||
| `dbms.servers[].databases[].writer` | ||
| boolean | ||
| Whether this instance is a writer for this database | ||
| `dbms.servers[].databases[].lastCommittedTxn` | ||
| Integer | ||
| Last committed transaction ID | ||
| `dbms.servers[].databases[].replicationLag` | ||
| Integer | ||
| Current replication lag | ||
| `dbms.servers[].databases[].graphCount` | ||
| GraphCount | ||
| Current graph counts for the database | ||
| `dbms.servers[].databases[].graphCount.node_count` | ||
| Long | ||
| Number of nodes in the graph | ||
| `dbms.servers[].databases[].graphCount.relationship_count` | ||
| Long | ||
| Number of relationships in the graph | ||
| `dbms.servers[].databases[].graphShards` | ||
| List<String> | ||
| List of graph shards of this database | ||
| `dbms.servers[].databases[].propertyShards` | ||
| List<String> | ||
| List of property shards of this database | ||
| `dbms.servers[].license` | ||
| License | ||
| Main license information | ||
| `dbms.servers[].license.type` | ||
| String | ||
| Type of the license | ||
| `dbms.servers[].license.state` | ||
| String | ||
| Current state of the license | ||
| `dbms.servers[].license.daysLeftOnTrial` | ||
| Integer | ||
| Number of days remaining in trial period | ||
| `dbms.servers[].license.totalTrialDays` | ||
| Integer | ||
| Total number of days in trial period | ||
| `dbms.servers[].bloomLicense` | ||
| License | ||
| Bloom license information | ||
| `dbms.servers[].bloomLicense.type` | ||
| String | ||
| Type of the license | ||
| `dbms.servers[].bloomLicense.state` | ||
| String | ||
| Current state of the license | ||
| `dbms.servers[].bloomLicense.daysLeftOnTrial` | ||
| Integer | ||
| Number of days remaining in trial period | ||
| `dbms.servers[].bloomLicense.totalTrialDays` | ||
| Integer | ||
| Total number of days in trial period | ||
| `dbms.servers[].gdsLicense` | ||
| License | ||
| GDS license information | ||
| `dbms.servers[].gdsLicense.type` | ||
| String | ||
| Type of the license | ||
| `dbms.servers[].gdsLicense.state` | ||
| String | ||
| Current state of the license | ||
| `dbms.servers[].gdsLicense.daysLeftOnTrial` | ||
| Integer | ||
| Number of days remaining in trial period | ||
| `dbms.servers[].gdsLicense.totalTrialDays` | ||
| Integer | ||
| Total number of days in trial period | ||
| `dbms.servers[].plugins` | ||
| List<Plugin> | ||
| List of plugins installed on the server | ||
| `dbms.servers[].plugins[].filename` | ||
| String | ||
| Filename of the plugin | ||
| `dbms.servers[].plugins[].name` | ||
| String | ||
| Manifest name of the plugin, if available | ||
| `dbms.servers[].plugins[].version` | ||
| String | ||
| Manifest version of the plugin, if available | ||
| `dbms.servers[].plugins[].vendor` | ||
| String | ||
| Manifest vendor of the plugin, if available | ||
| `pluginVersion` | ||
| String | ||
| Version of the fleet management plugin | ||
| `osName` | ||
| String | ||
| Operating system name | ||
| `osVersion` | ||
| String | ||
| Operating system version | ||
| `osArch` | ||
| String | ||
| Operating system architecture | ||
| `jvmVersion` | ||
| String | ||
| Java Virtual Machine version | ||
| `jvmVendor` | ||
| String | ||
| Java Virtual Machine vendor | ||
|=== | ||
|
31 changes: 31 additions & 0 deletions
31
modules/ROOT/pages/fleet-management/deployment-details.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[[sm-deployment-details]] | ||
= Deployment details | ||
:description: This page describes deployment details | ||
|
||
To access deployment details, use the more menu *(…)* from the deployment card or deployment table. | ||
In the graph view, the same menu can be accessed by right-clicking the DBMS node. | ||
|
||
On the right side of the header, the view selector allows you to choose between two views: *table* view or *graph* view (see xref:fleet-management/graph-view.adoc[Graph view]). | ||
|
||
== Table view | ||
|
||
The table view shows topology data in a tabular format. | ||
Three different tables are selectable using the dropdown in the table header. | ||
|
||
* Servers | ||
* Databases | ||
* Database instances | ||
|
||
=== Servers | ||
|
||
The *Servers* table shows all servers in the deployment. | ||
|
||
For more information, refer to the link:https://neo4j.com/docs/operations-manual/current/clustering/monitoring/show-servers-monitoring/[Operations Manual -> Monitor servers] for the `SHOW SERVERS` procedure, which is called by the plugin to obtain the data shown in the *Servers* table. | ||
|
||
=== Databases and Database instances | ||
|
||
The *Databases* table shows all databases in the deployment. | ||
|
||
A *Database instance* in this context refers to an instance of a logical database running on a specific server. | ||
alexnb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
For more information, refer to the link:https://neo4j.com/docs/operations-manual/current/database-administration/standard-databases/listing-databases/[Operations Manual -> List databases] for the `SHOW DATABASES` procedure, which is called by the plugin to obtain the data shown in the *Databases* and *Database instances* tables.. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.