dropsonde 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +58 -0
- data/README.md +42 -13
- data/bin/dropsonde +1 -1
- data/lib/dropsonde/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2b344789cd257a8cae81d53150c1ab50fe0cf20716c4fce306446a2c207c7e2
|
|
4
|
+
data.tar.gz: 563788ccfcf13c75feb8529e4870ba65a0679a1d461eda2413cd401c0c52decd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5006cf40dd17e018b6af805ae6192d5cc8b1842b981a4eba6895966a7ace7ee13365b9bae976169adaad1399ee9ca767d10b56cef56542ba5420cd04cecafdb6
|
|
7
|
+
data.tar.gz: ebda439d8baeec73d04887fb03b745acb2a11b9af8621f8992ad585b9ea9380f4c5732f88a5c17661f8123cba8125dc781d2929302a0954511bd6fae221c78f4
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.0.7](https://github.com/puppetlabs/dropsonde/tree/0.0.7) (2022-02-10)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.6...0.0.7)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- update server language [\#20](https://github.com/puppetlabs/dropsonde/pull/20) ([binford2k](https://github.com/binford2k))
|
|
10
|
+
- Updates the telemetry endpoint to a stable URL [\#19](https://github.com/puppetlabs/dropsonde/pull/19) ([MikaelSmith](https://github.com/MikaelSmith))
|
|
11
|
+
- docs updates now that it's shipped [\#18](https://github.com/puppetlabs/dropsonde/pull/18) ([binford2k](https://github.com/binford2k))
|
|
12
|
+
|
|
13
|
+
## [v0.0.6](https://github.com/puppetlabs/dropsonde/tree/v0.0.6) (2021-11-17)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.5...v0.0.6)
|
|
16
|
+
|
|
17
|
+
**Merged pull requests:**
|
|
18
|
+
|
|
19
|
+
- \(MAINT\) Update gemspec license param to 'Apache-2.0' [\#17](https://github.com/puppetlabs/dropsonde/pull/17) ([sanfrancrisko](https://github.com/sanfrancrisko))
|
|
20
|
+
- \(MAINT\) Release prep for 0.0.6 [\#16](https://github.com/puppetlabs/dropsonde/pull/16) ([sanfrancrisko](https://github.com/sanfrancrisko))
|
|
21
|
+
- \(MAINT\) Fix Rubocop violations [\#15](https://github.com/puppetlabs/dropsonde/pull/15) ([sanfrancrisko](https://github.com/sanfrancrisko))
|
|
22
|
+
- \(SERVER-3079\) Allow overriding Puppet's base settings [\#14](https://github.com/puppetlabs/dropsonde/pull/14) ([Magisus](https://github.com/Magisus))
|
|
23
|
+
- Load Ruby's CA certificates instead of using httpclient defaults [\#13](https://github.com/puppetlabs/dropsonde/pull/13) ([Magisus](https://github.com/Magisus))
|
|
24
|
+
- \(IAC-1676\) - Add nightly workflow [\#12](https://github.com/puppetlabs/dropsonde/pull/12) ([adrianiurca](https://github.com/adrianiurca))
|
|
25
|
+
- \(IAC-1659\) - Add Acceptance Tests [\#11](https://github.com/puppetlabs/dropsonde/pull/11) ([adrianiurca](https://github.com/adrianiurca))
|
|
26
|
+
- \(IAC-1624\) - Expand unit test case suit [\#9](https://github.com/puppetlabs/dropsonde/pull/9) ([adrianiurca](https://github.com/adrianiurca))
|
|
27
|
+
- \(IAC-1620\) - replace travis workflow with github actions [\#8](https://github.com/puppetlabs/dropsonde/pull/8) ([adrianiurca](https://github.com/adrianiurca))
|
|
28
|
+
- \(IAC-1605\) - add static checks - rubocop [\#5](https://github.com/puppetlabs/dropsonde/pull/5) ([adrianiurca](https://github.com/adrianiurca))
|
|
29
|
+
- Allow to specify siteid with a flag [\#4](https://github.com/puppetlabs/dropsonde/pull/4) ([raphink](https://github.com/raphink))
|
|
30
|
+
|
|
31
|
+
## [v0.0.5](https://github.com/puppetlabs/dropsonde/tree/v0.0.5) (2020-06-11)
|
|
32
|
+
|
|
33
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.4...v0.0.5)
|
|
34
|
+
|
|
35
|
+
## [v0.0.4](https://github.com/puppetlabs/dropsonde/tree/v0.0.4) (2020-06-05)
|
|
36
|
+
|
|
37
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.3...v0.0.4)
|
|
38
|
+
|
|
39
|
+
## [v0.0.3](https://github.com/puppetlabs/dropsonde/tree/v0.0.3) (2020-05-24)
|
|
40
|
+
|
|
41
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.2...v0.0.3)
|
|
42
|
+
|
|
43
|
+
## [v0.0.2](https://github.com/puppetlabs/dropsonde/tree/v0.0.2) (2020-05-08)
|
|
44
|
+
|
|
45
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/v0.0.1...v0.0.2)
|
|
46
|
+
|
|
47
|
+
## [v0.0.1](https://github.com/puppetlabs/dropsonde/tree/v0.0.1) (2020-02-27)
|
|
48
|
+
|
|
49
|
+
[Full Changelog](https://github.com/puppetlabs/dropsonde/compare/502bce39de366c8d6816676e0cf7ca6284b90734...v0.0.1)
|
|
50
|
+
|
|
51
|
+
**Merged pull requests:**
|
|
52
|
+
|
|
53
|
+
- Add simple puppetfile metric [\#2](https://github.com/puppetlabs/dropsonde/pull/2) ([binford2k](https://github.com/binford2k))
|
|
54
|
+
- MVP workable tool [\#1](https://github.com/puppetlabs/dropsonde/pull/1) ([binford2k](https://github.com/binford2k))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/README.md
CHANGED
|
@@ -15,8 +15,7 @@ data in a way that lets you signal approval simply by using a module is the
|
|
|
15
15
|
primary goal of this project.
|
|
16
16
|
|
|
17
17
|
> **This means that the best way for you to help yourself find new modules is to
|
|
18
|
-
>
|
|
19
|
-
> data.** ✅
|
|
18
|
+
> opt in and use this telemetry tool to share your module usage data.** ✅
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
## Design
|
|
@@ -34,11 +33,16 @@ You can see exactly what will be phoned home by running the command:
|
|
|
34
33
|
$ dropsonde preview
|
|
35
34
|
```
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
> *Note:* as of Puppetserver 7.5.0, Dropsonde is bundled in as a standard `puppetserver`
|
|
37
|
+
> command. You should run it as `puppetserver dropsonde` (or `/opt/puppetlabs/bin/puppetserver
|
|
38
|
+
> dropsonde` if your `$PATH` isn't configured.)
|
|
39
|
+
|
|
40
|
+
Dropsonde is a simple telemetry probe designed to run both as a command-line
|
|
41
|
+
tool and optionally as a regularly scheduled task. Metrics are defined by
|
|
42
|
+
plugins that gather data, but also export a schema that constrains the data
|
|
43
|
+
allowed to be reported on. Dropsonde will reject metrics that don't meet these
|
|
44
|
+
constraints. The backend database is also defined by this schema so the system
|
|
45
|
+
cannot gather any data that's not described in the schema.
|
|
42
46
|
|
|
43
47
|
See the full schema of all enabled plugins by running the command:
|
|
44
48
|
|
|
@@ -87,9 +91,11 @@ possible: [privacy@puppet.com](mailto:privacy@puppet.com)
|
|
|
87
91
|
|
|
88
92
|
## Installation
|
|
89
93
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
As of Puppetserver 7.5.0, Dropsonde is bundled in as a standard `puppetserver`
|
|
95
|
+
command. If you're running an older version, you can install it yourself with
|
|
96
|
+
`gem install dropsonde` or let the
|
|
97
|
+
[Puppet module](https://github.com/puppetlabs/puppetlabs-dropsonde) manage it
|
|
98
|
+
for you.
|
|
93
99
|
|
|
94
100
|
|
|
95
101
|
## Configuration
|
|
@@ -106,7 +112,29 @@ will not report the `:puppetfiles` metrics.
|
|
|
106
112
|
- puppetfiles
|
|
107
113
|
```
|
|
108
114
|
|
|
109
|
-
The `puppetlabs-dropsonde`
|
|
115
|
+
The [`puppetlabs-dropsonde`](https://github.com/puppetlabs/puppetlabs-dropsonde)
|
|
116
|
+
Puppet module manages this configuration for you.
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
## Scheduled Reporting
|
|
120
|
+
|
|
121
|
+
Dropsonde is intended to run on a regular schedule to submit usage reports back
|
|
122
|
+
to Puppet. The [`puppetlabs-dropsonde`](https://github.com/puppetlabs/puppetlabs-dropsonde)
|
|
123
|
+
Puppet module will manage this for you, or you can follow the instructions below
|
|
124
|
+
to configure a schedule manually.
|
|
125
|
+
|
|
126
|
+
If you're running Puppetserver 7.5.0 or above, it's already set up so you can
|
|
127
|
+
simply opt in. Add or update the following stanza of
|
|
128
|
+
`/etc/puppetlabs/puppetserver/conf.d/puppetserver.conf`:
|
|
129
|
+
|
|
130
|
+
``` hocon
|
|
131
|
+
dropsonde: {
|
|
132
|
+
enabled: true
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
If you're running an older version of Puppetserver, then create a cron job that
|
|
137
|
+
runs `dropsonde submit` once a week.
|
|
110
138
|
|
|
111
139
|
|
|
112
140
|
## Running
|
|
@@ -139,7 +167,7 @@ Developer comands
|
|
|
139
167
|
|
|
140
168
|
## Architecture
|
|
141
169
|
|
|
142
|
-
Dropsonde is a simple telemetry probe designed to run as a
|
|
170
|
+
Dropsonde is a simple telemetry probe designed to run as a scheduled task. It
|
|
143
171
|
will gather metrics defined by self-contained plugins that each defines its own
|
|
144
172
|
partial schema and then gathers the data to meet that schema.
|
|
145
173
|
|
|
@@ -155,7 +183,8 @@ of modules is updated.
|
|
|
155
183
|
|
|
156
184
|
## Limitations
|
|
157
185
|
|
|
158
|
-
|
|
186
|
+
The output format of individual metrics is not yet formally defined. If you write
|
|
187
|
+
tooling to use it, then make your tooling resilient to changes.
|
|
159
188
|
|
|
160
189
|
|
|
161
190
|
Contact
|
data/bin/dropsonde
CHANGED
|
@@ -69,7 +69,7 @@ class Dropsonde
|
|
|
69
69
|
desc 'Submit a telemetry report'
|
|
70
70
|
command :submit do |c|
|
|
71
71
|
c.desc 'Telemetry endpoint'
|
|
72
|
-
c.flag [:endpoint], :default_value => 'https://
|
|
72
|
+
c.flag [:endpoint], :default_value => 'https://updates.puppet.com'
|
|
73
73
|
|
|
74
74
|
c.desc 'Telemetry port'
|
|
75
75
|
c.flag [:port], :default_value => 443, :type => Integer
|
data/lib/dropsonde/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dropsonde
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Ford
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -146,6 +146,7 @@ executables:
|
|
|
146
146
|
extensions: []
|
|
147
147
|
extra_rdoc_files: []
|
|
148
148
|
files:
|
|
149
|
+
- CHANGELOG.md
|
|
149
150
|
- LICENSE
|
|
150
151
|
- README.md
|
|
151
152
|
- bin/dropsonde
|
|
@@ -163,7 +164,7 @@ homepage: https://github.com/puppetlabs/dropsonde
|
|
|
163
164
|
licenses:
|
|
164
165
|
- Apache-2.0
|
|
165
166
|
metadata: {}
|
|
166
|
-
post_install_message:
|
|
167
|
+
post_install_message:
|
|
167
168
|
rdoc_options: []
|
|
168
169
|
require_paths:
|
|
169
170
|
- lib
|
|
@@ -178,8 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
178
179
|
- !ruby/object:Gem::Version
|
|
179
180
|
version: '0'
|
|
180
181
|
requirements: []
|
|
181
|
-
rubygems_version: 3.1.
|
|
182
|
-
signing_key:
|
|
182
|
+
rubygems_version: 3.1.4
|
|
183
|
+
signing_key:
|
|
183
184
|
specification_version: 4
|
|
184
185
|
summary: A simple telemetry probe for gathering usage information about Puppet infrastructures.
|
|
185
186
|
test_files: []
|