Skip to content
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

fix: kafkaflow admin dashboard sample #538

Merged
merged 1 commit into from
Mar 14, 2024
Merged
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ artifacts/

# Node folders
node_modules/
/dist

# StyleCop
StyleCopReport.xml
Expand Down Expand Up @@ -433,4 +434,4 @@ healthchecksdb
MigrationBackup/

# End of https://www.gitignore.io/api/rider,linux,windows,visualstudio
.DS_Store
.DS_Store
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"KafkaFlow.Sample.Dashboard": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:5000",
"applicationUrl": "http://localhost:5002",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
8 changes: 8 additions & 0 deletions samples/KafkaFlow.Sample.Dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ Position the terminal in that folder and run the following command.
docker-compose up -d
```

### Build Dashboard UI

Using your terminal of choice, navigate to `kafkaflow\src\KafkaFlow.Admin.Dashboard\ClientApp` folder and run the following command:

```bash
joelfoliveira marked this conversation as resolved.
Show resolved Hide resolved
ng build
```

### Run the Sample

Using your terminal of choice, start the sample for the sample folder.
Expand Down
15 changes: 0 additions & 15 deletions src/KafkaFlow.Admin.Dashboard/ClientApp/dist/index.html

This file was deleted.

1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.Dashboard/ClientApp/dist/main.js

This file was deleted.

1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.Dashboard/ClientApp/dist/polyfills.js

This file was deleted.

1 change: 0 additions & 1 deletion src/KafkaFlow.Admin.Dashboard/ClientApp/dist/runtime.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/KafkaFlow.Admin.Dashboard/ClientApp/dist/styles.css

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

export const environment = {
production: false,
apiUrl: 'http://localhost:5000/kafkaflow'
apiUrl: '/kafkaflow'
};

/*
Expand Down
3 changes: 1 addition & 2 deletions website/docs/guides/admin/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ await kafkaBus.StartAsync();
await app.RunAsync();
```

The dashboard UI will be available at `/kafka-flow` and is refreshed every 5 seconds with telemetry data available at the endpoint `/kafka-flow/telemetry`.
The dashboard UI will be available at `/kafkaflow` and is refreshed every 5 seconds with telemetry data available at the endpoint `/kafkaflow/consumers/telemetry`.

![image](https://user-images.githubusercontent.com/233064/124478023-1d773680-dd7b-11eb-89e4-41a1f4f36a6f.png)

Loading