about summary refs log tree commit diff
path: root/scrape.c
diff options
context:
space:
mode:
authorHeikki Kallasjoki <kallasjoki@google.com>2018-11-30 17:50:24 +0000
committerHeikki Kallasjoki <kallasjoki@google.com>2018-11-30 17:50:24 +0000
commit6034e4e8c81d4bba161a2bedea318aa8d314c71e (patch)
treeca44dbd3618ecdeee2bcd2023a3cb19256f8a5ee /scrape.c
parent25aae24d4b13d08fa2e47634e00d53469dafe787 (diff)
downloadnano-exporter-6034e4e8c81d4bba161a2bedea318aa8d314c71e.tar.gz
nano-exporter-6034e4e8c81d4bba161a2bedea318aa8d314c71e.tar.xz
nano-exporter-6034e4e8c81d4bba161a2bedea318aa8d314c71e.zip
Remove prometheus- prefix from project name.
Diffstat (limited to 'scrape.c')
-rw-r--r--scrape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scrape.c b/scrape.c
index 5bc7ee3..9621108 100644
--- a/scrape.c
+++ b/scrape.c
@@ -162,14 +162,14 @@ void scrape_write_raw(scrape_req *req, const void *buf, size_t len) {
 
 static const char http_success[] =
     "HTTP/1.1 200 OK\r\n"
-    "Server: prometheus-nano-exporter\r\n"
+    "Server: nano-exporter\r\n"
     "Content-Type: text/plain; charset=UTF-8\r\n"
     "Connection: close\r\n"
     "\r\n"
     ;
 static const char http_error[] =
     "HTTP/1.1 400 Bad Request\r\n"
-    "Server: prometheus-nano-exporter\r\n"
+    "Server: nano-exporter\r\n"
     "Content-Type: text/plain; charset=UTF-8\r\n"
     "Connection: close\r\n"
     "\r\n"