Skip to content

Commit

Permalink
Merge pull request #188 from hossted/dev
Browse files Browse the repository at this point in the history
change file name from river to alloy
  • Loading branch information
AdheipSingh authored Dec 24, 2024
2 parents ae7cb7b + 448e0d7 commit c41760d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hossted/service/compose/activate_compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func AddComposeFile(develMode bool) {
// Set your environment to "prod" or "dev"
branch := GetMode(develMode)
files := map[string]string{
fmt.Sprintf("https://raw.githubusercontent.com/hossted/cli/%s/compose/monitoring/config.river", branch): "config.river",
fmt.Sprintf("https://raw.githubusercontent.com/hossted/cli/%s/compose/monitoring/config.alloy", branch): "config.alloy",
fmt.Sprintf("https://raw.githubusercontent.com/hossted/cli/%s/compose/monitoring/docker-compose.yaml", branch): "docker-compose.yaml",
}

Expand Down
2 changes: 1 addition & 1 deletion hossted/service/compose/reconcile_compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ func getMemoryUsage() (string, error) {

func runMonitoringCompose(monitoringEnable, osUUID, appUUID string) error {
if monitoringEnable == "true" {
configFilePath := os.Getenv("HOME") + "/.hossted/compose/monitoring/config.river"
configFilePath := os.Getenv("HOME") + "/.hossted/compose/monitoring/config.alloy"

// Read the Grafana Agent config file
configData, err := os.ReadFile(configFilePath)
Expand Down

0 comments on commit c41760d

Please sign in to comment.