mirror of
https://github.com/coredns/coredns.git
synced 2025-11-18 18:02:16 -05:00
prometheus.Handler is deprecated according to the godoc for the package so instead we're using promhttp. Additionally, we are exposing the Registry that metrics is using so other plugins that are not inside of coredns can read the registry. Otherwise, if we kept using the Default one, there's no way to access that from outside of the coredns repo since it is vendored.
Go generated proto packages
Important
This repository is currently experimental. The structure of the contained packages is subject to change. Please see the original source repositories (listed below) to find out the status of the each protocol buffer's associated service.
This repository contains the generated Go packages for common protocol buffer types, and the generated gRPC code necessary for interacting with Google's gRPC APIs.
There are two sources for the proto files used in this repository:
- google/protobuf: the code in the
protobufandptypessubdirectories is derived from this repo. The messages inprotobufare used to describe protocol buffer messages themselves. The messages underptypesdefine the common well-known types. - googleapis/googleapis: the code in the
googleapisis derived from this repo. The packages here contain types specifically for interacting with Google APIs.