From d0cf20f60b8c6d2430d500e75f3ef112eb4bc214 Mon Sep 17 00:00:00 2001 From: Alexey Shamrin Date: Thu, 29 Oct 2015 01:23:43 +0300 Subject: [PATCH] syntax highlight last example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ee41e811..5601b12c 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ This is intended for advanced use cases where you have servers exposing Prometheus metrics and need to get them into some other system. -``` +```python from prometheus_client.parser import text_string_to_metric_families for family in text_string_to_metric_families("my_gauge 1.0\n"): for sample in family.samples: