mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-03-05 21:00:12 -08:00
spceific arch configs
This commit is contained in:
parent
c01a7c2c57
commit
dde374e68a
27
collector/config_bsds.go
Normal file
27
collector/config_bsds.go
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright 2023 The Prometheus Authors
|
||||
// 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.
|
||||
|
||||
//go:build dragonfly || freebsd || netbsd || openbsd
|
||||
// +build dragonfly freebsd netbsd openbsd
|
||||
|
||||
package collector
|
||||
|
||||
type NodeCollectorConfig struct {
|
||||
Filesystem FilesystemConfig
|
||||
NetDev NetDevConfig
|
||||
NTP NTPConfig
|
||||
Path PathConfig
|
||||
Runit RunitConfig
|
||||
Supervisord SupervisordConfig
|
||||
TextFile TextFileConfig
|
||||
}
|
26
collector/config_darwin.go
Normal file
26
collector/config_darwin.go
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Copyright 2023 The Prometheus Authors
|
||||
// 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 collector
|
||||
|
||||
type NodeCollectorConfig struct {
|
||||
DiskstatsDeviceFilter DiskstatsDeviceFilterConfig
|
||||
Filesystem FilesystemConfig
|
||||
NetDev NetDevConfig
|
||||
NTP NTPConfig
|
||||
Path PathConfig
|
||||
PowerSupplyClass PowerSupplyClassConfig
|
||||
Runit RunitConfig
|
||||
Supervisord SupervisordConfig
|
||||
TextFile TextFileConfig
|
||||
}
|
22
collector/config_solaris.go
Normal file
22
collector/config_solaris.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Copyright 2023 The Prometheus Authors
|
||||
// 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 collector
|
||||
|
||||
type NodeCollectorConfig struct {
|
||||
NTP NTPConfig
|
||||
Path PathConfig
|
||||
Runit RunitConfig
|
||||
Supervisord SupervisordConfig
|
||||
TextFile TextFileConfig
|
||||
}
|
Loading…
Reference in a new issue