Skip to content

Commit 9f0902b

Browse files
authored
Merge pull request #99 from SumoLogic/repo-sync/apps/default
🔄 synced file(s) with Sanyaku/apps
2 parents 7d31881 + 3dc4ca5 commit 9f0902b

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

assets/conf.d/examples/haproxy.yaml.example

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
receivers:
2+
haproxy/localhost:
3+
endpoint: localhost:8404/stats
4+
collection_interval: 1m
25
filelog/haproxy/localhost:
36
storage: file_storage
47
include_file_name: false
@@ -24,16 +27,38 @@ processors:
2427
- key: webengine.system
2528
value: haproxy
2629
action: insert
30+
- key: webengine.node.name
31+
action: insert
32+
from_attribute: host.name
2733
- key: proxy.cluster
2834
value: test
2935
action: insert
36+
resource/haproxy_resource_attributes/metrics/localhost:
37+
attributes:
38+
- key: _source
39+
value: haproxy/haproxy
40+
action: insert
41+
- key: _sourceName
42+
value: haproxy
43+
action: insert
3044
resource/haproxy_resource_attributes/logs/localhost:
3145
attributes:
3246
- key: _source
3347
value: haproxy/filelog
3448
action: insert
3549
service:
3650
pipelines:
51+
metrics/haproxy/localhost:
52+
receivers:
53+
- haproxy/localhost
54+
processors:
55+
- memory_limiter
56+
- resourcedetection/system
57+
- resource/haproxy_resource_attributes/metrics/localhost
58+
- resource/haproxy_resource_attributes/localhost
59+
- batch
60+
exporters:
61+
- sumologic
3762
logs/haproxy/localhost:
3863
receivers:
3964
- filelog/haproxy/localhost

assets/conf.d/examples/memcached.yaml.example

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
receivers:
2+
memcached/localhost:
3+
endpoint: localhost:11211
4+
transport: tcp
5+
collection_interval: 1m
26
filelog/memcached/localhost:
37
storage: file_storage
48
include_file_name: false
@@ -24,24 +28,46 @@ processors:
2428
- key: _contentType
2529
value: OpenTelemetry
2630
action: insert
31+
- key: db.node.name
32+
action: insert
33+
from_attribute: host.name
2734
- key: db.cluster.name
2835
value: test
2936
action: insert
37+
resource/memcached_resource_attributes/metrics/localhost:
38+
attributes:
39+
- key: _source
40+
value: memcached/memcached
41+
action: insert
42+
- key: _sourceName
43+
value: memcached
44+
action: insert
3045
resource/memcached_resource_attributes/logs/localhost:
3146
attributes:
3247
- key: _source
3348
value: memcached/filelog
3449
action: insert
3550
service:
3651
pipelines:
52+
metrics/memcached/localhost:
53+
receivers:
54+
- memcached/localhost
55+
processors:
56+
- memory_limiter
57+
- resourcedetection/system
58+
- batch
59+
- resource/memcached_resource_attributes/localhost
60+
- resource/memcached_resource_attributes/metrics/localhost
61+
exporters:
62+
- sumologic
3763
logs/memcached/localhost:
3864
receivers:
3965
- filelog/memcached/localhost
4066
processors:
4167
- memory_limiter
42-
- resource/memcached_resource_attributes/localhost
43-
- batch
4468
- resourcedetection/system
69+
- batch
70+
- resource/memcached_resource_attributes/localhost
4571
- resource/memcached_resource_attributes/logs/localhost
4672
exporters:
4773
- sumologic

0 commit comments

Comments
 (0)