Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
683fc230
Commit
683fc230
authored
Sep 12, 2017
by
Mik Vyatskov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fluentd-gcp addon] Restore the metric for the number of read log entries
parent
01154dd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
fluentd-gcp-configmap.yaml
cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml
+14
-1
fluentd-gcp-ds.yaml
cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
+1
-1
No files found.
cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml
View file @
683fc230
...
...
@@ -332,6 +332,19 @@ data:
</metric>
</match>
# This filter allows to count the number of log entries read by fluentd
# before they are processed by the output plugin. This in turn allows to
# monitor the number of log entries that were read but never sent, e.g.
# because of liveness probe removing buffer.
<filter **>
@type prometheus
<metric>
type counter
name logging_entry_count
desc Total number of log entries generated by either application containers or system components
</metric>
</filter>
# We use 2 output stanzas - one to handle the container logs and one to handle
# the node daemon logs, the latter of which explicitly sends its logs to the
# compute.googleapis.com service rather than container.googleapis.com to keep
...
...
@@ -383,7 +396,7 @@ data:
num_threads 2
</match>
metadata
:
name
:
fluentd-gcp-config-v1.1
name
:
fluentd-gcp-config-v1.1
.2
namespace
:
kube-system
labels
:
addonmanager.kubernetes.io/mode
:
Reconcile
cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
View file @
683fc230
...
...
@@ -117,7 +117,7 @@ spec:
path
:
/usr/lib64
-
name
:
config-volume
configMap
:
name
:
fluentd-gcp-config-v1.1
name
:
fluentd-gcp-config-v1.1
.2
-
name
:
ssl-certs
hostPath
:
path
:
/etc/ssl/certs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment