Skip to content

Commit

Permalink
Merge pull request #712 from mendix/develop
Browse files Browse the repository at this point in the history
Release 2024-01-18
  • Loading branch information
mukund-padale authored Jan 18, 2024
2 parents 20f07d8 + 1d84e24 commit b150f95
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion buildpack/telemetry/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,19 @@ def get_influx_registry():
# `a.name.like.this` would appear as `a_name_like_this` in
# influx-formatted metrics output. Hence the filter names uses the
# dot-separated metric names.
deny_list = ["commons.pool", "jvm.buffer"]

# Remove metrics sent by the Mendix Agent from internal processing
mendix_agent_metrics = [
"mx.microflow",
"mx.activity",
"mx.soap",
"mx.odata",
"mx.rest",
"mx.client",
]
deny_list.extend(mendix_agent_metrics)

return {
"type": "influx",
"settings": {
Expand All @@ -251,7 +264,7 @@ def get_influx_registry():
{
"type": "nameStartsWith",
"result": "deny",
"values": ["commons.pool", "jvm.buffer"],
"values": deny_list,
},
],
}
Expand Down

0 comments on commit b150f95

Please sign in to comment.