You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There isn't a Pull Metric Exporter defined in anyways in the Go SDK. This interface between the ManualReader and the export format is left to the implementors of the Exporter to define and use.
The way the prometheus Exporter achieves this is by embedding a ManualReader in the Exporter type so that it can be registered in the SDK. This embedded Reader.Collect() is used when prometheus starts gathering data points, and does the conversion to the prometheus format internal to the Exporter. This interface would be different for a different kind of exporter but could use a similar pattern.
The text was updated successfully, but these errors were encountered: