rename fluent plugin and update docs

pull/667/head
Brian Gann 6 years ago
parent ec915d4db8
commit ff2c5670f7
  1. 0
      fluentd/fluent-plugin-grafana-loki/.gitignore
  2. 0
      fluentd/fluent-plugin-grafana-loki/.rspec
  3. 0
      fluentd/fluent-plugin-grafana-loki/.rubocop.yml
  4. 0
      fluentd/fluent-plugin-grafana-loki/Dockerfile
  5. 0
      fluentd/fluent-plugin-grafana-loki/Gemfile
  6. 13
      fluentd/fluent-plugin-grafana-loki/README.md
  7. 0
      fluentd/fluent-plugin-grafana-loki/Rakefile
  8. 0
      fluentd/fluent-plugin-grafana-loki/bin/console
  9. 0
      fluentd/fluent-plugin-grafana-loki/bin/setup
  10. 0
      fluentd/fluent-plugin-grafana-loki/docker/Gemfile
  11. 0
      fluentd/fluent-plugin-grafana-loki/docker/conf/fluentd-1.conf
  12. 0
      fluentd/fluent-plugin-grafana-loki/docker/conf/fluentd-2.conf
  13. 0
      fluentd/fluent-plugin-grafana-loki/docker/conf/fluentd.conf
  14. 0
      fluentd/fluent-plugin-grafana-loki/docker/conf/loki.conf
  15. 0
      fluentd/fluent-plugin-grafana-loki/docker/conf/systemd.conf
  16. 0
      fluentd/fluent-plugin-grafana-loki/docker/docker-compose.yml
  17. 0
      fluentd/fluent-plugin-grafana-loki/docker/entrypoint.sh
  18. 4
      fluentd/fluent-plugin-grafana-loki/fluent-plugin-grafana-loki.gemspec
  19. 0
      fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb
  20. 0
      fluentd/fluent-plugin-grafana-loki/spec/gems/fluent/plugin/data/syslog
  21. 0
      fluentd/fluent-plugin-grafana-loki/spec/gems/fluent/plugin/data/syslog2
  22. 0
      fluentd/fluent-plugin-grafana-loki/spec/gems/fluent/plugin/loki_output_spec.rb
  23. 0
      fluentd/fluent-plugin-grafana-loki/spec/spec_helper.rb

@ -1,4 +1,4 @@
# fluent-plugin-loki
# fluent-plugin-grafana-loki
[Fluentd](https://fluentd.org/) output plugin to ship logs to a Loki server.
@ -10,9 +10,8 @@ Key features:
## Installation
Please note that currently installation using official gem repositories is **not** possible since there is a [naming conflict](https://github.com/grafana/loki/issues/535) that is being investigated.
```
$ gem install fluent-plugin-loki
$ gem install fluent-plugin-grafana-loki
```
## Usage
@ -32,7 +31,7 @@ In your Fluentd configuration, use `@type loki`. Additional configuration is opt
## Docker Image
There is a Docker image `grafana/fluent-plugin-loki:master` which contains default configuration files to git log information
There is a Docker image `grafana/fluent-plugin-grafana-loki:master` which contains default configuration files to git log information
a host's `/var/log` dir, and from the host's Journald. To use it, you can set the `LOKI_URL`, `LOKI_USERNAME`, and `LOKI_PASSWORD` environment variables (you can leave the USERNAME and PASSWORD blank if they're not used.)
@ -41,7 +40,7 @@ A Docker Swarm Compose configuration that will work looks like:
```
services:
fluentd:
image: grafana/fluent-plugin-loki:master
image: grafana/fluent-plugin-grafana-loki:master
command:
- "fluentd"
- "-v"
@ -112,9 +111,9 @@ num_threads 1
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `fluent-plugin-loki.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `fluent-plugin-grafana-loki.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
To create the gem: `gem build fluent-plugin-loki.gemspec`
To create the gem: `gem build fluent-plugin-grafana-loki.gemspec`
Useful additions:
`gem install rubocop`

@ -1,8 +1,8 @@
$LOAD_PATH.push File.expand_path('lib', __dir__)
Gem::Specification.new do |spec|
spec.name = 'fluent-plugin-loki'
spec.version = '0.1.1'
spec.name = 'fluent-plugin-grafana-loki'
spec.version = '1.0.0'
spec.authors = %w[woodsaj briangann]
spec.email = ['awoods@grafana.com', 'brian@grafana.com']
Loading…
Cancel
Save