-
Notifications
You must be signed in to change notification settings - Fork 8
[Superseded by 214] Moved how to content out of reference for monitoring application #211
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "position": 5, | ||
| "label": "Operate" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| --- | ||
| title: List Applications | ||
| sidebar_position: 2 | ||
| --- | ||
|
|
||
| ## Examples | ||
|
|
||
| ### List active apps | ||
|
|
||
| ```bash | ||
| eigenx app list | ||
| ``` | ||
|
|
||
| Output when no active apps: | ||
| ``` | ||
| No active apps found for developer 0xB4921D9F3eDEB4bFDfcDCA669860Ab965273dC71 (use --all to show terminated apps) | ||
| ``` | ||
|
|
||
| ### List all apps including terminated | ||
|
|
||
| ```bash | ||
| eigenx app list --all | ||
| ``` | ||
|
|
||
| ## Use Cases | ||
|
|
||
| ### Inventory management | ||
|
|
||
| ```bash | ||
| # See all your apps | ||
| eigenx app list --all | ||
|
|
||
| # Count running apps | ||
| eigenx app list | grep Running | ||
| ``` | ||
|
|
||
| ### Find application ID | ||
|
|
||
| ```bash | ||
| # List to find the app ID you need | ||
| eigenx app list | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, this is repeated like I don't know what's the right way, but it seems like the same command is repeated over and over again.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree and am handling this comment in the CLI restructure PR. |
||
|
|
||
| # Copy app ID for other commands | ||
| eigenx app info app-1a2b3c4d | ||
| ``` | ||
|
|
||
| ### Cross-environment check | ||
|
|
||
| ```bash | ||
| # Verify deployment across environments | ||
| eigenx app list --all | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is repeated.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above |
||
|
|
||
| # Ensure prod apps are running | ||
| eigenx app list --env prod | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| title: Monitor Application | ||
| sidebar_position: 1 | ||
| --- | ||
|
|
||
| ## Get application information | ||
|
|
||
| ```bash | ||
| eigenx app info my-app | ||
| ``` | ||
|
|
||
| Output: | ||
| ``` | ||
| App Name: my-app | ||
| App ID: 0x01354ee823Dc898F6500c071348BA5523891aafd | ||
| Latest Release Time: 2025-10-02 14:02:48 | ||
| Status: Running | ||
| IP: 34.71.169.252 | ||
| EVM Address: 0x5d5d34E9406459C67Bf4D7C4F179282F8d02D672 (path: m/44'/60'/0'/0/0) | ||
| Solana Address: 432ap3zrxTAsDaXu7wdSp3d14srqLhhdvMsF3awbHJco (path: m/44'/501'/0'/0') | ||
| ``` | ||
|
|
||
| ## View logs from TEE instance | ||
|
|
||
| ### View recent logs | ||
|
|
||
| ```bash | ||
| eigenx app logs trading-bot | ||
| ``` | ||
|
|
||
| ### Watch logs continuously | ||
|
|
||
| ```bash | ||
| eigenx app logs --watch trading-bot | ||
| ``` | ||
|
|
||
| This continuously fetches and displays log updates. Use `Ctrl+C` to stop. | ||
|
|
||
| ## Use Cases | ||
|
|
||
| ### Monitor logs in real-time | ||
|
|
||
| ```bash | ||
| eigenx app logs --watch my-app | ||
| ``` | ||
|
|
||
|
Comment on lines
+31
to
+46
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this feels odd, why do we have to repeat the same command for same
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree and am handling this comment in the CLI restructure PR. |
||
| ### Save logs for analysis | ||
|
|
||
| ```bash | ||
| eigenx app logs my-app > logs.txt | ||
| ``` | ||
|
|
||
| ### Filter logs | ||
|
|
||
| ```bash | ||
| eigenx app logs my-app | grep -i error | ||
| eigenx app logs my-app | grep "Transaction executed" | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| title: Troubleshoot Logs | ||
| sidebar_position: 3 | ||
| --- | ||
|
|
||
| ## Application not starting | ||
|
|
||
| ```bash | ||
| eigenx app logs my-app | ||
| ``` | ||
|
|
||
| Look for: | ||
| - Port binding errors | ||
| - Missing environment variables | ||
| - Dependency issues | ||
| - Startup exceptions | ||
|
|
||
| ## Monitor for errors | ||
|
|
||
| ```bash | ||
| eigenx app logs --watch my-app | grep -i error | ||
| ``` |
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.
we already have
eigenx app list --allcommand above - I think we should try to repeat less commands and keep things concise.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.
Agree and am handling this comment in the CLI restructure PR.