blob: b367ed120be0e070d74cf582195e5ec487c3aa98 [file] [log] [blame]
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
package common
// Info returned by /server/info
type ServerInfo struct {
// The server release version.
ReleaseVersion string
// The git hash that this software was built with.
GitVersion string
// Info returned by /server/stats
type ServerStats struct {
Shards []ShardStats
type ShardStats struct {
Path string
// The approximate number of spans present in this shard. This may be an
// underestimate.
ApproxNumSpans uint64
// leveldb.stats information
LevelDbStats string