summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1842a7a)
raw | patch | inline | side by side (parent: 1842a7a)
author | octo <octo> | |
Tue, 4 Apr 2006 07:30:37 +0000 (07:30 +0000) | ||
committer | octo <octo> | |
Tue, 4 Apr 2006 07:30:37 +0000 (07:30 +0000) |
src/apache.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index 8ceb754e29034bfa603242165e6ed34fc14708e0..c410dc43055bb855195ab33b31d34cfeadcb225f 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
static char apache_curl_error[CURL_ERROR_SIZE];
#endif
+/* Limit to 2^27 bytes/s. That's what a gigabit-ethernet link can handle, in
+ * theory. */
static char *bytes_file = "apache/apache_bytes.rrd";
static char *bytes_ds_def[] =
{
- "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:U",
+ "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:134217728",
NULL
};
static int bytes_ds_num = 1;
+/* Limit to 2^20 requests/s */
static char *requests_file = "apache/apache_requests.rrd";
static char *requests_ds_def[] =
{
- "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:U",
+ "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:1048576",
NULL
};
static int requests_ds_num = 1;