Desc returns the descriptor for the Metric. This method idempotently returns the same descriptor throughout the lifetime of the Metric. The returned descriptor is immutable by contract. A Metric unable to describe itself must return an invalid descriptor (created with NewInvalidDesc).
()
| 37 | // unable to describe itself must return an invalid descriptor (created |
| 38 | // with NewInvalidDesc). |
| 39 | Desc() *Desc |
| 40 | // Write encodes the Metric into a "Metric" Protocol Buffer data |
| 41 | // transmission object. |
| 42 | // |
no outgoing calls