For a high-level view of why data browsers are available on Compose, and a full list of deployment types they are available on: Compose Deployments - Data Browsers.
The data browser on etcd provides access to parts of the etcd API from inside the Compose Console. It's a web accessible alternative to using
The top level view is a listing of keys in the datastore along with their values. The first time you use it, or whenever you have an empty key space, you'll see this:
This is the Keys view.
To put a key into the keyspace, click on Put key on the right. You'll be taken to the New Key view. In the two fields in the virtual command line, enter the key and the value:
Then click the Run button the run the virtual command. This will take you to the Key View:
Here you can edit the value of the newly created key - its name is displayed at the top of the form. Below that is the value field which you can edit and then click Set value to apply that value. The key can also be deleted by clicking the Delete button on the right. Otherwise, return to the Keys view by clicking the Keys link to the left of the key name.
Now the Keys view shows our new key and value; lease id and time to live are also shown in this view, but cannot currently be set. To edit our key, just click on the key name in the list. You'll be taken to the Key View to edit the key's value or delete it.
If we add some more keys to the view, we can demonstrate the from and to fields.
Here are some more keys. The keys found are determined by the values that, lexographically, are greater than or equal to the from field and less than the to field. If we wanted to focus on the "b" keys we could enter a range of from
c to match just the keys starting with "b".
--limit parameter simply lets you decide how many entries from the specified range should be displayed.
If this article didn't solve things, summon a human and get some help.
Updated almost 3 years ago