contextualized_logs 0.0.5.pre.alpha → 0.0.6.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -11
- data/lib/contextualized_logs/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ef468febea7b59ee758205f2b108801f86f19dd83395ba36d9fa7ec4e80e3ca
|
4
|
+
data.tar.gz: 777b746706c9a6c8e19f67991c694e1320f3c9bbbe1da06e2d8d012456ace6a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5ac0498889e38c256f716200a497a220b308d504a8841aefa04526768769497d4014bfed4e90123ed0270640597dc752a0a485f3601adf20c7b7d265e068752
|
7
|
+
data.tar.gz: 9a37c5950c8fab4dd1be97e536fbd2eb16530f72cd47ab6a9e968d5ff99ae4d8dfb3301d1def77517ddcc8a18e7071df8a9d50a22de84fadc7446239499e6a22
|
data/README.md
CHANGED
@@ -248,27 +248,23 @@ end
|
|
248
248
|
|
249
249
|
## Demo
|
250
250
|
|
251
|
-
|
251
|
+
### Rails Demo
|
252
252
|
|
253
|
-
$ rake demo
|
254
253
|
|
255
|
-
|
256
|
-
|
257
|
-
### start rails
|
254
|
+
#### start rails
|
258
255
|
|
259
256
|
$ bin/setup
|
260
257
|
$ bin/rails server
|
261
258
|
|
262
|
-
|
259
|
+
#### start sidekiq
|
263
260
|
|
264
261
|
$ bundle exec sidekiq
|
265
262
|
|
266
|
-
|
267
|
-
### tail logs
|
263
|
+
#### tail logs
|
268
264
|
|
269
265
|
$ tail -f log/development
|
270
266
|
|
271
|
-
|
267
|
+
#### do some requests
|
272
268
|
|
273
269
|
```shell
|
274
270
|
curl -X POST -d '{"value": "value"}' -H 'Content-Type: application/json' "http://localhost:3000/model"
|
@@ -277,6 +273,23 @@ curl "http://localhost:3000/model"
|
|
277
273
|
curl -X DELETE "http://localhost:3000/model/1"
|
278
274
|
```
|
279
275
|
|
276
|
+
### Asciinema
|
277
|
+
|
278
|
+
Thanks to [Asciinema](https://asciinema.org)!
|
279
|
+
|
280
|
+
$ rake demo
|
281
|
+
|
282
|
+
[![asciicast](https://asciinema.org/a/324084.svg)](https://asciinema.org/a/324084)
|
283
|
+
|
284
|
+
|
285
|
+
### Datadog
|
286
|
+
|
287
|
+
Contextualized Logs is particuly useful if you have a online service to parse/search the logs, like [Datadog](https://www.datadoghq.com).
|
288
|
+
|
289
|
+
Here is a video of log searching using Datadog
|
290
|
+
|
291
|
+
[![Watch the demo on Youtube](https://img.youtube.com/vi/cajUbtNF_AI/maxresdefault.jpg)](https://youtu.be/cajUbtNF_AI)
|
292
|
+
|
280
293
|
## Usage
|
281
294
|
|
282
295
|
### ContextualizedLogger
|
@@ -537,7 +550,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
537
550
|
|
538
551
|
## Contributing
|
539
552
|
|
540
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
553
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/babylist/contextualized_logs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
541
554
|
|
542
555
|
## License
|
543
556
|
|
@@ -545,4 +558,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
545
558
|
|
546
559
|
## Code of Conduct
|
547
560
|
|
548
|
-
Everyone interacting in the
|
561
|
+
Everyone interacting in the contextualized_logs project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/babylist/contextualized_logs/blob/master/CODE_OF_CONDUCT.md).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contextualized_logs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6.pre.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugues Bernet-Rollande
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Online logging solution (like [Datadog](https://www.datadoghq.com)) have drastically transform the way we log.
|
@@ -29,7 +29,7 @@ description: |
|
|
29
29
|
|
30
30
|
Allowing you to find all logs which "touched" this models.
|
31
31
|
email:
|
32
|
-
-
|
32
|
+
- engineering@babylist.com
|
33
33
|
executables: []
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files: []
|
@@ -101,7 +101,7 @@ files:
|
|
101
101
|
- lib/contextualized_logs/sidekiq/middleware/server/restore_current_context.rb
|
102
102
|
- lib/contextualized_logs/version.rb
|
103
103
|
- lib/tasks/contextualized_logs_tasks.rake
|
104
|
-
homepage: https://github.com/
|
104
|
+
homepage: https://github.com/babylist/contextualized_logs
|
105
105
|
licenses:
|
106
106
|
- MIT
|
107
107
|
metadata: {}
|