fluent-plugin-diskusage 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/LICENSE.txt +1 -1
- data/fluent-plugin-diskusage.gemspec +1 -1
- data/lib/fluent/plugin/in_diskusage.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12e46bb4eec544b7ceefc2a14c94d4d30861ed3a
|
4
|
+
data.tar.gz: e8763a7141b7117277bb797acb43a134fb174f96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a960c626ecc29da47fa6437c5248dba401710edeb4141cb0364085f82eff45f3a1b4d32732f131097afa7870f9effcec86293d6cde329334c58081682e1d9fd
|
7
|
+
data.tar.gz: 71bbd01be0919b1a6f4fb1eba00c781e2e4fabec2ec1f75fa61024e6d84ded2d1295dd9dbf219c11d5550dfa46ae42f51a21ec83ab492300e4dfa919f4adabbd
|
data/.gitignore
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2015 TODO:
|
3
|
+
Copyright (c) 2015 TODO: Jason Westbrook
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,11 @@
|
|
1
1
|
class Fluent::DiskUsage < Fluent::Input
|
2
2
|
Fluent::Plugin.register_input('diskusage',self)
|
3
3
|
|
4
|
+
# Define `router` method to support v0.10.57 or earlier
|
5
|
+
unless method_defined?(:router)
|
6
|
+
define_method("router") { Fluent::Engine }
|
7
|
+
end
|
8
|
+
|
4
9
|
config_param :tag, :string
|
5
10
|
config_param :mountpoint, :string
|
6
11
|
config_param :label, :string
|