Skip to content

Commit

Permalink
fix: include grpc call metrics in Prometheus export (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Oct 12, 2022
1 parent 168deee commit a08d784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
Expand All @@ -15,6 +14,7 @@ trim_trailing_whitespace = true
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
dotnet_diagnostic.CS1591.severity = none

# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
Expand Down
1 change: 1 addition & 0 deletions src/Vfps/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
Predicate = _ => false
});

app.UseGrpcMetrics();
app.MapMetrics();

if (app.Environment.IsDevelopment())
Expand Down

0 comments on commit a08d784

Please sign in to comment.