Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
puppet-code (0.1.0-1build264) noble; urgency=medium

* commit event. see changes history in git log

-- root <packager@infrahouse.com> Wed, 24 Dec 2025 00:15:02 +0000

puppet-code (0.1.0-1build263) noble; urgency=medium

* commit event. see changes history in git log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
The only service-specific metrics are procstat patterns.
If service-specific metrics are needed in the future, add extra_metrics parameter.

Note: Global append_dimensions only supports AWS metadata variables
(ImageId, InstanceId, InstanceType, AutoScalingGroupName).
Custom dimensions must be added to each metric type individually.

Variables:
@cloudwatch_log_group - CloudWatch log group name
@cloudwatch_namespace - CloudWatch metrics namespace
Expand Down Expand Up @@ -51,7 +55,10 @@
"measurement": [
"pid_count"
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
}<%= index < @all_procstat.length - 1 ? ',' : '' %>
<% end -%>
],
Expand Down Expand Up @@ -79,7 +86,10 @@
}
],
"metrics_collection_interval": 60,
"totalcpu": false
"totalcpu": false,
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"disk": {
"measurement": [
Expand All @@ -97,7 +107,10 @@
"metrics_collection_interval": 300,
"resources": [
"/"
]
],
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"diskio": {
"measurement": [
Expand All @@ -117,7 +130,10 @@
"unit": "Bytes"
}
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"mem": {
"measurement": [
Expand All @@ -132,7 +148,10 @@
"unit": "Bytes"
}
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"netstat": {
"measurement": [
Expand All @@ -152,7 +171,10 @@
"unit": "Count"
}
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"processes": {
"measurement": [
Expand All @@ -172,7 +194,10 @@
"unit": "Count"
}
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
},
"swap": {
"measurement": [
Expand All @@ -182,11 +207,15 @@
"unit": "Percent"
}
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60,
"append_dimensions": {
"environment": "<%= @environment %>"
}
}
},
"append_dimensions": {
"environment": "<%= @environment %>"
"InstanceId": "${aws:InstanceId}",
"AutoScalingGroupName": "${aws:AutoScalingGroupName}"
}
}
}