The easiest way to get a token is the command openstack token issue. issue. Then you put that token into the x-auth-token header.
The easiest way to get a token is the command openstack token issue. Then you put that token into the x-auth-token header.header of you GET request to Gnocchi.