summaryrefslogtreecommitdiff
path: root/databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2018-03-06 11:50:12 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2018-03-06 11:50:12 +0000
commit54a61d98ae7e0c55aca14f0ddd8804edb639662f (patch)
tree55e247ff1004d347923eede3ba677d03e997cadb /databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go
parentsysutils/froxlor: Fix packaging when APACHE option is unset (diff)
Add new port datagbases/pgmetrics
This port easily collect and report PostgreSQL metrics for scripting, automation and troubleshooting.
Diffstat (limited to 'databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go')
-rw-r--r--databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go b/databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go
new file mode 100644
index 000000000000..dfcb8a416cd4
--- /dev/null
+++ b/databases/pgmetrics/files/patch-cmd_pgmetrics_system__freebsd.go
@@ -0,0 +1,24 @@
+--- /dev/null 2018-03-06 12:20:46.000000000 +0100
++++ cmd/pgmetrics/system_freebsd.go 2018-03-06 12:18:41.362207000 +0100
+@@ -0,0 +1,21 @@
++/*
++ * Copyright 2018 RapidLoop, Inc.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package main
++
++func (c *collector) collectSystem(o options) {
++ // Not implemented for FreeBSD yet.
++}