Skip to content

Conversation

@code28
Copy link
Contributor

@code28 code28 commented Dec 3, 2019

(Since I only updated the README, I skip the checks.)

I fixed the example for using SwiftPrometheus in Vapor. Since there is no function collect(), which returns a String, we need to prepare a promise in order to collect the data.
This is also the way, the PrometheusExample prints the metrics.

@MrLotU MrLotU merged commit 504476e into swift-server:master Dec 3, 2019
@MrLotU
Copy link
Collaborator

MrLotU commented Dec 3, 2019

Thanks @code28 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants