Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve train metrics setting #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Andrew-Wichmann
Copy link

Objective

  • make train metrics a global setting rather than a startup setting
  • disable by default

Details

I found out that the train metrics from this mod were creating 100k+ active series on my Grafana Cloud account that would have soon cost me over $1k / mo. The server is a long-running project, so I was dismayed when the this disable feature was a "startup" setting rather than an "runtime-global". As far as I can tell, that meant I couldn't change the setting for my server after it was created. Setting it to "runtime-global" has seemingly allowed me to turn these metrics on and off as I please.

Lastly, in my opinion, these train metrics simply don't scale with Factorio and they should be disabled by default or reworked to bring the cardinality way down.

@Zincfox Zincfox mentioned this pull request Jul 19, 2024
setting_type = "startup",
default_value = false,
setting_type = "runtime-global",
default_value = true,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't change the default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants