aboutsummaryrefslogtreecommitdiff
path: root/cmd/site/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/site/html.go')
-rw-r--r--cmd/site/html.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/site/html.go b/cmd/site/html.go
index b3fa484..33bdd0f 100644
--- a/cmd/site/html.go
+++ b/cmd/site/html.go
@@ -111,6 +111,7 @@ func (s *Site) showTalk(w http.ResponseWriter, r *http.Request) {
}
h.ServeHTTP(w, r)
+ postView.With(prometheus.Labels{"base": filepath.Base(p.Link)}).Inc()
}
func (s *Site) showPost(w http.ResponseWriter, r *http.Request) {