| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"reflect" |
| 10 |
"runtime/metrics" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["runtime/metrics/metrics"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"All": reflect.ValueOf(metrics.All), |
| 17 |
"KindBad": reflect.ValueOf(metrics.KindBad), |
| 18 |
"KindFloat64": reflect.ValueOf(metrics.KindFloat64), |
| 19 |
"KindFloat64Histogram": reflect.ValueOf(metrics.KindFloat64Histogram), |
| 20 |
"KindUint64": reflect.ValueOf(metrics.KindUint64), |
| 21 |
"Read": reflect.ValueOf(metrics.Read), |
| 22 |
|
| 23 |
|
| 24 |
"Description": reflect.ValueOf((*metrics.Description)(nil)), |
| 25 |
"Float64Histogram": reflect.ValueOf((*metrics.Float64Histogram)(nil)), |
| 26 |
"Sample": reflect.ValueOf((*metrics.Sample)(nil)), |
| 27 |
"Value": reflect.ValueOf((*metrics.Value)(nil)), |
| 28 |
"ValueKind": reflect.ValueOf((*metrics.ValueKind)(nil)), |
| 29 |
} |
| 30 |
} |