Skip to content

Commit

Permalink
feat: added performance monitoring for elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Oct 7, 2024
1 parent e15c3c9 commit 0ed2150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/models/models/v2/database_metric_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type DatabaseMetricV2 struct {
any `collection:"database_metrics"`
BaseModelV2[DatabaseMetricV2] `bson:",inline"`
DatabaseId primitive.ObjectID `json:"database_id" bson:"database_id"`
CpuUsagePercent float32 `json:"cpu_usage_percent" bson:"cpu_usage_percent"`
TotalMemory uint64 `json:"total_memory" bson:"total_memory"`
AvailableMemory uint64 `json:"available_memory" bson:"available_memory"`
UsedMemory uint64 `json:"used_memory" bson:"used_memory"`
Expand Down

0 comments on commit 0ed2150

Please sign in to comment.