Skip to content

Commit

Permalink
Merge pull request #5 from Diesel-Net/development
Browse files Browse the repository at this point in the history
patch for docker role breaking changes
  • Loading branch information
tomdaley92 authored Jan 16, 2024
2 parents 003208d + 7667377 commit efb27a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion meta/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ galaxy_info:
- name: docker
scm: git
src: "[email protected]:Diesel-Net/ansible-role-docker.git"
version: 2.0.4
version: 2.1.0
2 changes: 1 addition & 1 deletion tasks/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
name: docker
tasks_from: service_update
vars:
options: --force
opts: --force
app_name: fluentd
docker_service: daemon

18 changes: 2 additions & 16 deletions templates/loki.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,11 @@
@type null
</match>

# use service_name for container_name for the rare case of adhoc containers (non-swarm services)
# <filter raw.**>
# @type record_transformer
# enable_ruby
# <record>
# service_name ${record["service_name"] or record["container_name"]}
# </record>
# </filter>

# uncomment for debugging
# <match **>
# @type stdout
# </match>

<match raw.**>
@type detect_exceptions
remove_tag_prefix raw
message log
languages python
languages all
</match>

<match **>
Expand Down Expand Up @@ -91,7 +77,7 @@

extra_labels {"environment":"{{ version }}", "vm_hostname":"{{ inventory_hostname }}", "job":"{{ loki_job }}"}

<buffer service_name>
<buffer container_id>
@type file
path /fluentd/log/dlog/loki-buffer
flush_thread_count 8
Expand Down

0 comments on commit efb27a1

Please sign in to comment.