prometheus-client-mmap 0.20.3-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +253 -0
  3. data/ext/fast_mmaped_file/extconf.rb +30 -0
  4. data/ext/fast_mmaped_file/fast_mmaped_file.c +122 -0
  5. data/ext/fast_mmaped_file/file_format.c +5 -0
  6. data/ext/fast_mmaped_file/file_format.h +11 -0
  7. data/ext/fast_mmaped_file/file_parsing.c +195 -0
  8. data/ext/fast_mmaped_file/file_parsing.h +27 -0
  9. data/ext/fast_mmaped_file/file_reading.c +102 -0
  10. data/ext/fast_mmaped_file/file_reading.h +30 -0
  11. data/ext/fast_mmaped_file/globals.h +14 -0
  12. data/ext/fast_mmaped_file/mmap.c +427 -0
  13. data/ext/fast_mmaped_file/mmap.h +61 -0
  14. data/ext/fast_mmaped_file/rendering.c +199 -0
  15. data/ext/fast_mmaped_file/rendering.h +8 -0
  16. data/ext/fast_mmaped_file/utils.c +56 -0
  17. data/ext/fast_mmaped_file/utils.h +22 -0
  18. data/ext/fast_mmaped_file/value_access.c +242 -0
  19. data/ext/fast_mmaped_file/value_access.h +15 -0
  20. data/ext/fast_mmaped_file_rs/.cargo/config.toml +23 -0
  21. data/ext/fast_mmaped_file_rs/Cargo.lock +790 -0
  22. data/ext/fast_mmaped_file_rs/Cargo.toml +30 -0
  23. data/ext/fast_mmaped_file_rs/README.md +52 -0
  24. data/ext/fast_mmaped_file_rs/extconf.rb +30 -0
  25. data/ext/fast_mmaped_file_rs/src/error.rs +174 -0
  26. data/ext/fast_mmaped_file_rs/src/file_entry.rs +579 -0
  27. data/ext/fast_mmaped_file_rs/src/file_info.rs +190 -0
  28. data/ext/fast_mmaped_file_rs/src/lib.rs +79 -0
  29. data/ext/fast_mmaped_file_rs/src/macros.rs +14 -0
  30. data/ext/fast_mmaped_file_rs/src/map.rs +492 -0
  31. data/ext/fast_mmaped_file_rs/src/mmap.rs +151 -0
  32. data/ext/fast_mmaped_file_rs/src/parser.rs +346 -0
  33. data/ext/fast_mmaped_file_rs/src/raw_entry.rs +473 -0
  34. data/ext/fast_mmaped_file_rs/src/testhelper.rs +222 -0
  35. data/ext/fast_mmaped_file_rs/src/util.rs +121 -0
  36. data/lib/2.7/fast_mmaped_file.bundle +0 -0
  37. data/lib/2.7/fast_mmaped_file_rs.bundle +0 -0
  38. data/lib/3.0/fast_mmaped_file.bundle +0 -0
  39. data/lib/3.0/fast_mmaped_file_rs.bundle +0 -0
  40. data/lib/3.1/fast_mmaped_file.bundle +0 -0
  41. data/lib/3.1/fast_mmaped_file_rs.bundle +0 -0
  42. data/lib/3.2/fast_mmaped_file.bundle +0 -0
  43. data/lib/3.2/fast_mmaped_file_rs.bundle +0 -0
  44. data/lib/prometheus/client/configuration.rb +23 -0
  45. data/lib/prometheus/client/counter.rb +27 -0
  46. data/lib/prometheus/client/formats/text.rb +118 -0
  47. data/lib/prometheus/client/gauge.rb +40 -0
  48. data/lib/prometheus/client/helper/entry_parser.rb +132 -0
  49. data/lib/prometheus/client/helper/file_locker.rb +50 -0
  50. data/lib/prometheus/client/helper/json_parser.rb +23 -0
  51. data/lib/prometheus/client/helper/metrics_processing.rb +45 -0
  52. data/lib/prometheus/client/helper/metrics_representation.rb +51 -0
  53. data/lib/prometheus/client/helper/mmaped_file.rb +64 -0
  54. data/lib/prometheus/client/helper/plain_file.rb +29 -0
  55. data/lib/prometheus/client/histogram.rb +80 -0
  56. data/lib/prometheus/client/label_set_validator.rb +86 -0
  57. data/lib/prometheus/client/metric.rb +80 -0
  58. data/lib/prometheus/client/mmaped_dict.rb +79 -0
  59. data/lib/prometheus/client/mmaped_value.rb +154 -0
  60. data/lib/prometheus/client/page_size.rb +17 -0
  61. data/lib/prometheus/client/push.rb +203 -0
  62. data/lib/prometheus/client/rack/collector.rb +88 -0
  63. data/lib/prometheus/client/rack/exporter.rb +96 -0
  64. data/lib/prometheus/client/registry.rb +65 -0
  65. data/lib/prometheus/client/simple_value.rb +31 -0
  66. data/lib/prometheus/client/summary.rb +69 -0
  67. data/lib/prometheus/client/support/unicorn.rb +35 -0
  68. data/lib/prometheus/client/uses_value_type.rb +20 -0
  69. data/lib/prometheus/client/version.rb +5 -0
  70. data/lib/prometheus/client.rb +58 -0
  71. data/lib/prometheus.rb +3 -0
  72. data/vendor/c/hashmap/.gitignore +52 -0
  73. data/vendor/c/hashmap/LICENSE +21 -0
  74. data/vendor/c/hashmap/README.md +90 -0
  75. data/vendor/c/hashmap/_config.yml +1 -0
  76. data/vendor/c/hashmap/src/hashmap.c +692 -0
  77. data/vendor/c/hashmap/src/hashmap.h +267 -0
  78. data/vendor/c/hashmap/test/Makefile +22 -0
  79. data/vendor/c/hashmap/test/hashmap_test.c +608 -0
  80. data/vendor/c/jsmn/.travis.yml +4 -0
  81. data/vendor/c/jsmn/LICENSE +20 -0
  82. data/vendor/c/jsmn/Makefile +41 -0
  83. data/vendor/c/jsmn/README.md +168 -0
  84. data/vendor/c/jsmn/example/jsondump.c +126 -0
  85. data/vendor/c/jsmn/example/simple.c +76 -0
  86. data/vendor/c/jsmn/jsmn.c +314 -0
  87. data/vendor/c/jsmn/jsmn.h +76 -0
  88. data/vendor/c/jsmn/library.json +16 -0
  89. data/vendor/c/jsmn/test/test.h +27 -0
  90. data/vendor/c/jsmn/test/tests.c +407 -0
  91. data/vendor/c/jsmn/test/testutil.h +94 -0
  92. metadata +243 -0
metadata ADDED
@@ -0,0 +1,243 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: prometheus-client-mmap
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.20.3
5
+ platform: arm64-darwin
6
+ authors:
7
+ - Tobias Schmidt
8
+ - Paweł Chojnacki
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2023-04-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rb_sys
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '0.9'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '0.9'
28
+ - !ruby/object:Gem::Dependency
29
+ name: fuzzbert
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 1.0.4
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - "~>"
43
+ - !ruby/object:Gem::Version
44
+ version: '1.0'
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.4
48
+ - !ruby/object:Gem::Dependency
49
+ name: gem_publisher
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1'
62
+ - !ruby/object:Gem::Dependency
63
+ name: pry
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.12.2
69
+ type: :development
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.12.2
76
+ - !ruby/object:Gem::Dependency
77
+ name: rake-compiler
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.2.1
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.2.1
90
+ - !ruby/object:Gem::Dependency
91
+ name: rake-compiler-dock
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.3.0
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.3.0
104
+ - !ruby/object:Gem::Dependency
105
+ name: ruby-prof
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.16.2
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.16.2
118
+ description:
119
+ email:
120
+ - ts@soundcloud.com
121
+ - pawel@gitlab.com
122
+ executables: []
123
+ extensions: []
124
+ extra_rdoc_files: []
125
+ files:
126
+ - README.md
127
+ - ext/fast_mmaped_file/extconf.rb
128
+ - ext/fast_mmaped_file/fast_mmaped_file.c
129
+ - ext/fast_mmaped_file/file_format.c
130
+ - ext/fast_mmaped_file/file_format.h
131
+ - ext/fast_mmaped_file/file_parsing.c
132
+ - ext/fast_mmaped_file/file_parsing.h
133
+ - ext/fast_mmaped_file/file_reading.c
134
+ - ext/fast_mmaped_file/file_reading.h
135
+ - ext/fast_mmaped_file/globals.h
136
+ - ext/fast_mmaped_file/mmap.c
137
+ - ext/fast_mmaped_file/mmap.h
138
+ - ext/fast_mmaped_file/rendering.c
139
+ - ext/fast_mmaped_file/rendering.h
140
+ - ext/fast_mmaped_file/utils.c
141
+ - ext/fast_mmaped_file/utils.h
142
+ - ext/fast_mmaped_file/value_access.c
143
+ - ext/fast_mmaped_file/value_access.h
144
+ - ext/fast_mmaped_file_rs/.cargo/config.toml
145
+ - ext/fast_mmaped_file_rs/Cargo.lock
146
+ - ext/fast_mmaped_file_rs/Cargo.toml
147
+ - ext/fast_mmaped_file_rs/README.md
148
+ - ext/fast_mmaped_file_rs/extconf.rb
149
+ - ext/fast_mmaped_file_rs/src/error.rs
150
+ - ext/fast_mmaped_file_rs/src/file_entry.rs
151
+ - ext/fast_mmaped_file_rs/src/file_info.rs
152
+ - ext/fast_mmaped_file_rs/src/lib.rs
153
+ - ext/fast_mmaped_file_rs/src/macros.rs
154
+ - ext/fast_mmaped_file_rs/src/map.rs
155
+ - ext/fast_mmaped_file_rs/src/mmap.rs
156
+ - ext/fast_mmaped_file_rs/src/parser.rs
157
+ - ext/fast_mmaped_file_rs/src/raw_entry.rs
158
+ - ext/fast_mmaped_file_rs/src/testhelper.rs
159
+ - ext/fast_mmaped_file_rs/src/util.rs
160
+ - lib/2.7/fast_mmaped_file.bundle
161
+ - lib/2.7/fast_mmaped_file_rs.bundle
162
+ - lib/3.0/fast_mmaped_file.bundle
163
+ - lib/3.0/fast_mmaped_file_rs.bundle
164
+ - lib/3.1/fast_mmaped_file.bundle
165
+ - lib/3.1/fast_mmaped_file_rs.bundle
166
+ - lib/3.2/fast_mmaped_file.bundle
167
+ - lib/3.2/fast_mmaped_file_rs.bundle
168
+ - lib/prometheus.rb
169
+ - lib/prometheus/client.rb
170
+ - lib/prometheus/client/configuration.rb
171
+ - lib/prometheus/client/counter.rb
172
+ - lib/prometheus/client/formats/text.rb
173
+ - lib/prometheus/client/gauge.rb
174
+ - lib/prometheus/client/helper/entry_parser.rb
175
+ - lib/prometheus/client/helper/file_locker.rb
176
+ - lib/prometheus/client/helper/json_parser.rb
177
+ - lib/prometheus/client/helper/metrics_processing.rb
178
+ - lib/prometheus/client/helper/metrics_representation.rb
179
+ - lib/prometheus/client/helper/mmaped_file.rb
180
+ - lib/prometheus/client/helper/plain_file.rb
181
+ - lib/prometheus/client/histogram.rb
182
+ - lib/prometheus/client/label_set_validator.rb
183
+ - lib/prometheus/client/metric.rb
184
+ - lib/prometheus/client/mmaped_dict.rb
185
+ - lib/prometheus/client/mmaped_value.rb
186
+ - lib/prometheus/client/page_size.rb
187
+ - lib/prometheus/client/push.rb
188
+ - lib/prometheus/client/rack/collector.rb
189
+ - lib/prometheus/client/rack/exporter.rb
190
+ - lib/prometheus/client/registry.rb
191
+ - lib/prometheus/client/simple_value.rb
192
+ - lib/prometheus/client/summary.rb
193
+ - lib/prometheus/client/support/unicorn.rb
194
+ - lib/prometheus/client/uses_value_type.rb
195
+ - lib/prometheus/client/version.rb
196
+ - vendor/c/hashmap/.gitignore
197
+ - vendor/c/hashmap/LICENSE
198
+ - vendor/c/hashmap/README.md
199
+ - vendor/c/hashmap/_config.yml
200
+ - vendor/c/hashmap/src/hashmap.c
201
+ - vendor/c/hashmap/src/hashmap.h
202
+ - vendor/c/hashmap/test/Makefile
203
+ - vendor/c/hashmap/test/hashmap_test.c
204
+ - vendor/c/jsmn/.travis.yml
205
+ - vendor/c/jsmn/LICENSE
206
+ - vendor/c/jsmn/Makefile
207
+ - vendor/c/jsmn/README.md
208
+ - vendor/c/jsmn/example/jsondump.c
209
+ - vendor/c/jsmn/example/simple.c
210
+ - vendor/c/jsmn/jsmn.c
211
+ - vendor/c/jsmn/jsmn.h
212
+ - vendor/c/jsmn/library.json
213
+ - vendor/c/jsmn/test/test.h
214
+ - vendor/c/jsmn/test/tests.c
215
+ - vendor/c/jsmn/test/testutil.h
216
+ homepage: https://gitlab.com/gitlab-org/prometheus-client-mmap
217
+ licenses:
218
+ - Apache-2.0
219
+ metadata: {}
220
+ post_install_message:
221
+ rdoc_options: []
222
+ require_paths:
223
+ - lib
224
+ required_ruby_version: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '2.7'
229
+ - - "<"
230
+ - !ruby/object:Gem::Version
231
+ version: 3.3.dev
232
+ required_rubygems_version: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ requirements: []
238
+ rubygems_version: 3.4.4
239
+ signing_key:
240
+ specification_version: 4
241
+ summary: A suite of instrumentation metric primitivesthat can be exposed through a
242
+ web services interface.
243
+ test_files: []