aboutsummaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-07 08:54:22 +0800
committerFelix Lange <fjl@twurst.com>2015-07-07 20:12:44 +0800
commitea54283b304a1d308141d21e3ef75b7de0f4519d (patch)
treeac419ac05bf5613dea4fc0f68c69c9e28b654743 /metrics
parent46fbd34c708e6550fda9eb37dc830cabc56b42fc (diff)
downloaddexon-ea54283b304a1d308141d21e3ef75b7de0f4519d.tar.gz
dexon-ea54283b304a1d308141d21e3ef75b7de0f4519d.tar.zst
dexon-ea54283b304a1d308141d21e3ef75b7de0f4519d.zip
all: update license information
Diffstat (limited to 'metrics')
-rw-r--r--metrics/disk.go16
-rw-r--r--metrics/disk_linux.go16
-rw-r--r--metrics/disk_nop.go16
-rw-r--r--metrics/metrics.go16
4 files changed, 64 insertions, 0 deletions
diff --git a/metrics/disk.go b/metrics/disk.go
index 1b6c56773..c85ee21df 100644
--- a/metrics/disk.go
+++ b/metrics/disk.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package metrics
// DiskStats is the per process disk io stats.
diff --git a/metrics/disk_linux.go b/metrics/disk_linux.go
index 82b204534..ee7ad8756 100644
--- a/metrics/disk_linux.go
+++ b/metrics/disk_linux.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// Contains the Linux implementation of process disk IO counter retrieval.
package metrics
diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go
index 539ab8d1a..bab7d14db 100644
--- a/metrics/disk_nop.go
+++ b/metrics/disk_nop.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// +build !linux
package metrics
diff --git a/metrics/metrics.go b/metrics/metrics.go
index 33004ee3b..09d1f8b31 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// Package metrics provides general system and process level metrics collection.
package metrics