Open to enhancements to the FoundationDB integration? #19672
jon-signal
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Actually, this may be an embarrassing (if foreseen!) consequence of me being new to custom checks/integrations. Do we wind up with one Regardless, we're still planning on making changes to the metrics themselves and would be happy to contribute those upstream if there's an appetite for that kind of change! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
We're starting our journey with FoundationDB and were pleased to discover that there's a first-class FoundationDB integration! As we've worked with it more, though, we've found that the existing integration doesn't quite meet our needs in a few key areas. Please let me be clear that I'm new to the world of custom checks and integrations, and it's entirely possible that I'm just misunderstanding things. That said, here's what we're finding ourselves wanting so far:
As near as I can tell, the existing integration can only really work with a single FoundationDB cluster. There are two components to that: first, I don't immediately see a mechanism in the check for per-instance tags (so there's no way to tag metrics from two different clusters with two different cluster names, for example). Second, the check has only a single
def check(self, _):
status_data = self.fdb_status_data()
(EDIT: This is incorrect! I just misunderstood the lifecycle of check instances!)_db
instance and appears to ignore instance configuration entirely, and so there's no way to provide multiple FoundationDB cluster files to facilitate connections to different clusters:integrations-core/foundationdb/datadog_checks/foundationdb/check.py
Lines 40 to 41 in ffeb442
Would you folks be open to third-party contributions? I think the main things that would change are:
Provide some mechanism for specifying multiple clusterfilesThis would be, I think the semantic versioning equivalent of a major version change, and I'm not sure how you think about those in terms of integration updates.
We intend to make these changes for our own installation regardless; would you be interested in a pull request to make comparable changes upstream?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions