dropsonde 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4a87b2c8abe75d07a73a52a48041c2734bb7914a54df3471d696458f3f0cb05
4
- data.tar.gz: cd2b7d3a36aa9aa386997ab21f7ffee57387819b08a79407b98c5bfdbbcd619d
3
+ metadata.gz: b2b344789cd257a8cae81d53150c1ab50fe0cf20716c4fce306446a2c207c7e2
4
+ data.tar.gz: 563788ccfcf13c75feb8529e4870ba65a0679a1d461eda2413cd401c0c52decd
5
5
  SHA512:
6
- metadata.gz: 4a033ee5a796d3dab8c46d7562848255ca66552671f31f58ffde8a5a00f98dbcf1e9485a8279529b7c78094f96add8e932fa401e634ccfc067f5c9b72eed93c3
7
- data.tar.gz: b86bc1f854fe414a388534ced35132d0744ac21001298d3eefce326afa97a63bd56ce9b250458889690831e7b0343963666377eaf10c25c38861b50e1160225d
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
- > install this telemetry tool and, along with your peers, share your module usage
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
- Dropsonde is a simple telemetry probe designed to run as a regular cron job.
38
- Metrics are defined by plugins that gather data, but also export a schema that
39
- constrains the data allowed to be reported on. Dropsonde will reject metrics
40
- that don't meet these constraints. The backend database is also defined by this
41
- schema so the system cannot gather any data that's not described in the schema.
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
- This is distributed as a Ruby gem. Simply `gem install dropsonde`. There's a
91
- [Puppet module](https://github.com/puppetlabs/puppetlabs-dropsonde) to manage it
92
- if that's more your thing.
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` Puppet module manages this configuration for you.
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 regular cron job. It
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
- This is super early in development and has not yet been battle tested.
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://prod.dujour.k8s.puppet.net'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Dropsonde
4
- VERSION = '0.0.6'
4
+ VERSION = '0.0.7'
5
5
  end
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.6
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: 2021-11-17 00:00:00.000000000 Z
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.2
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: []