Skip to content

wayblink/birdwatcher

This branch is 62 commits ahead of, 48 commits behind milvus-io/birdwatcher:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c72152b · Jul 17, 2024
Jun 27, 2024
Oct 11, 2022
Jun 19, 2024
Jun 26, 2024
Jun 19, 2024
Feb 21, 2023
Jul 27, 2023
Jun 19, 2024
Jun 19, 2024
Jul 8, 2024
Jun 19, 2024
Feb 28, 2024
Jun 19, 2024
Jun 27, 2024
Jul 17, 2024
Jun 19, 2024
Dec 16, 2022
Jul 5, 2022
Jan 23, 2023
Nov 15, 2023
Jun 27, 2024
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Jun 19, 2024
Aug 12, 2022
Feb 21, 2023
Jun 27, 2024
Jun 27, 2024
Jun 19, 2024

Repository files navigation

Birdwatcher

linter status

Debug tool for Milvus 2.0 project. This tool connects to etcd and inspect some status of the Milvus system.

Get Started

Prerequisite

go 1.18 or higher

Install birdwatcher

install with go command

go install github.com/milvus-io/birdwatcher

or download source and run with go command

git clone https://github.com/milvus-io/birdwatcher
cd birdwatcher
go build -o birdwatcher main.go

How to use

connect to etcd

connect to etcd

❯ birdwatcher
# execute connect command, using default config, equal to connect --etcd localhost:2379 --rootPath by-dev
Offline: connect 
Using meta path: by-dev/meta/
✔ Milvus(by-dev): show collection
...

connect to remote instance etcd with other basePath

❯ birdwatcher
Offline: connect --etcd [ip]:[port] --rootPath instanceName
Using meta path: instanceName/meta/
✔ Milvus(instanceName): 

inspect some meta

inspect meta

Milvus(by-dev): show collections
================================================================================
Collection ID: 434393323906469185	Collection Name:gosdk_index_example
Partitions:
 - Partition ID:434393323906469186	Partition Name:_default
Fields:
 - Field ID: 0 	 Field Name: RowID 	 Field Type: Int64
 - Field ID: 1 	 Field Name: Timestamp 	 Field Type: Int64
 - Field ID: 100 	 Field Name: ID 	 Field Type: Int64
	 - Primary Key, AutoID: false
 - Field ID: 101 	 Field Name: Year 	 Field Type: Int32
 - Field ID: 102 	 Field Name: Vector 	 Field Type: FloatVector
	 - Type Param dim: 8
Consistency Level: Strong
✔ Milvus(by-dev): █

backup etcd

inspect meta

Milvus(by-dev): backup
found 37 keys, at revision 533816, starting backup...
Backing up ... 100%(37/37)
backup etcd for prefix by-dev/meta done, stored in file: bw_etcd_ALL.220707-152246.bak.gz

help

And use help command to check other commands.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.7%
  • Shell 2.1%
  • Other 0.2%