Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/eigencompute/howto/operate/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"position": 5,
"label": "Operate"
}
55 changes: 55 additions & 0 deletions docs/eigencompute/howto/operate/list-applications.md
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
Comment on lines +29 to +30
Copy link
Contributor

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 --all command above - I think we should try to repeat less commands and keep things concise.

Copy link
Collaborator Author

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.

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
Copy link
Contributor

Choose a reason for hiding this comment

The 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.

Copy link
Collaborator Author

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.


# Copy app ID for other commands
eigenx app info app-1a2b3c4d
```

### Cross-environment check

```bash
# Verify deployment across environments
eigenx app list --all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is repeated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above


# Ensure prod apps are running
eigenx app list --env prod
```
58 changes: 58 additions & 0 deletions docs/eigencompute/howto/operate/monitor-application.md
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
Copy link
Contributor

@shrimalmadhur shrimalmadhur Nov 26, 2025

Choose a reason for hiding this comment

The 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 --watch feature?

Copy link
Collaborator Author

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.

### 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"
```
22 changes: 22 additions & 0 deletions docs/eigencompute/howto/operate/troubleshoot-logs.md
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
```
161 changes: 0 additions & 161 deletions docs/eigencompute/reference/cli-commands/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,79 +34,6 @@ eigenx app list [command options]
| `--all` | Show all apps including terminated ones |
| `--address-count <value>` | Number of addresses to fetch (default: 1) |

### 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
```

Output:
```
App Name: my-app
App ID: 0xa59fD620FeAc528417aB7128c7b18C803F40a631
Latest Release Time: 2025-09-25 22:06:12
Status: Running
IP: 34.170.211.89
EVM Address: 0xF619A67Ea563675007Eac422e69530126392b958 (path: m/44'/60'/0'/0/0)
Solana Address: 6Atoibgb61E6jhYcQmXqgLZUNki1fnsTRiGx8FqrqpK1 (path: m/44'/501'/0'/0')

----------------------------------------------------------------------

App Name: another-app
App ID: 0xCDeeA867a5bA09bD5e6678A1594f7ec55E10fE34
Latest Release Time: 2025-09-25 22:25:24
Status: Terminated
IP: 34.42.73.228
EVM Address: 0x27b49986edB3cd0219b3D713F5489b01D9666525 (path: m/44'/60'/0'/0/0)
Solana Address: BA3qL53xF3Y5gVBCHS9YnbNudVwCqBiU2K6sTk4zAZBU (path: m/44'/501'/0'/0')
```


### Use Cases

**Inventory management**

```bash
# See all your apps
eigenx app list --all

# Count running apps
eigenx app list | grep Running
```

**Find app ID**

```bash
# List to find the app ID you need
eigenx app list

# Copy app ID for other commands
eigenx app info app-1a2b3c4d
```

**Cross-environment check**

```bash
# Verify deployment across environments
eigenx app list --all

# Ensure prod apps are running
eigenx app list --env prod
```

---

## `eigenx app info`
Expand All @@ -133,25 +60,6 @@ eigenx app info [command options] [app-id|name]
| `--environment <env>` | Deployment environment to use |
| `--rpc-url <url>` | RPC URL to connect to blockchain |

### Examples

**Get app 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')
```

---

## `eigenx app logs`
Expand All @@ -178,75 +86,6 @@ eigenx app logs [command options] [app-id|name]
| `--environment <env>` | Deployment environment to use |
| `--rpc-url <url>` | RPC URL to connect to blockchain |

### Examples

**View recent logs**

```bash
eigenx app logs trading-bot
```

Output:
```
2024-01-15T14:22:15.123Z App started on port 3000
2024-01-15T14:22:15.456Z Connected to database
2024-01-15T14:22:15.789Z Initialized wallet: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb1
2024-01-15T14:22:16.012Z Subscribing to blockchain events...
2024-01-15T14:22:16.234Z Ready to process transactions
2024-01-15T14:25:30.567Z Received new block: 12345678
2024-01-15T14:25:30.890Z Processing 3 pending transactions
2024-01-15T14:25:31.123Z Transaction executed: 0xabc123...
```

**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
```

**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"
```

### Troubleshooting with Logs

**App 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
```

---

## Related Commands
Expand Down