Skip to content

Commit

Permalink
Merge pull request #139 from coroot/redis_alternatives
Browse files Browse the repository at this point in the history
application types: add `valkey` and `dragonfly`
  • Loading branch information
def authored Nov 12, 2024
2 parents ec07a0b + 5941c6a commit 5eecdd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions containers/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func guessApplicationType(cmdline []byte) string {
return "redis-sentinel"
case bytes.HasSuffix(cmd, []byte("keydb-server")):
return "keydb"
case bytes.HasSuffix(cmd, []byte("valkey-server")):
return "valkey"
case bytes.HasSuffix(cmd, []byte("dragonfly")):
return "dragonfly"
case bytes.HasSuffix(cmd, []byte("beam.smp")) && bytes.Contains(cmdline, []byte("rabbit")):
return "rabbitmq"
case bytes.HasSuffix(cmd, []byte("beam.smp")) && bytes.Contains(cmdline, []byte("couch")):
Expand Down

0 comments on commit 5eecdd7

Please sign in to comment.