-
Notifications
You must be signed in to change notification settings - Fork 25
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
BUG - fivetran_log__connector_status.connector_health = broken for a connected connector #23
Comments
Hi @ipear3 thank you so much for raising this issue with our team! Our team will take a look into this early next week and will let you know what we can do to help resolve the bug you are seeing. We will coordinate further here. Look forward to chatting more! |
hey @ipear3 thanks for providing so much detail - super helpful and i think i've figured out what's going on here! so, the problem is that priority first syncs do not send so, ultimately it looks like the package needs some code updates to accommodate the way priority-first syncs work. we'll slot fixing this into our next sprint (which starts next Wednesday) and get working on it then if that still works for you 🙂 |
Thank you @fivetran-jamie! I'm very delighted you honed in on the root cause, and even more delighted that it sounds feasible to work with the existing Fivetran Log connector and updated DBT package logic. Looking forward to the next release! |
FYI starting to work on this now! 🙂 |
hey @ipear3 -- you mentioned that you would expect to see this connector categorized as either "connected" or something like "priority first sync". would it be more helpful to be provided the latter option? or is the value just knowing that the connector is working? thanks! |
Hey @fivetran-jamie thanks for asking for input. In my opinion, it would be great if connector_health provided the most granular status, like "priority first sync". That way we have the data necessary to fulfill two use cases: alerting when a connector is broken (where only "broken" matters), and visualizing the status of a connector (where it would be nice to know the difference between fully synced connectors and currently syncing connectors). If we're brainstorming... even more ideal would be multiple fields. A connection state (connected or paused), a connection health (broken, healthy), and a connection status (initial sync underway, priority first sync underway, up-to-date, delayed). |
hey @ipear3 cool! after talking with the team I think it would be best to keep this a singular field, but i agree that a higher level of granularity for priority first syncs is ideal! i've implemented the fix in the # your packages.yml
- git: https://github.com/fivetran/dbt_fivetran_log.git
revision: feature/priority-first-syncs
warn-unpinned: false |
hey @ipear3 we're probably going to be releasing this fix tomorrow if you wanted to check it out before then! we've run it internally on our own priority-first syncing connectors and it looks like it's working, but fyi 😃 |
hey just released this fix and it should be up on dbt hub shortly! |
Are you a current Fivetran customer?
Yes. My name is Ian Pearthree. I am a data engineer at Pendo.
Describe the bug
Our fivetran_log__connector status page says a connector is broken, but it is actually successfully syncing historical data.
Steps to reproduce
Configure a Pendo connector, then enable the connector. This will correctly start a priority-first sync. You'll also need to configure and enable a fivetran_log connector.
Then, install the fivetran_log dbt package to your DBT instance. Run the models contained in the package.
Then, check out the table built by the fivetran_log__connector_status model. The Pendo connector has a connector_health of "broken".
Then, check out the connector in you fivetran dashboard. The connector will have a green active status, and will indicate that the priority data sync is complete, and the historical sync may continue to run. All the UI elements indicate that the connector is healthy, and operating as intended.
Expected behavior
I would expect the Pendo connector in the fivetran_log__connector_status to have a "connected" connector_health value. If not "connected", then I'd expect a status like "priority first sync", so that it accurately reflects the status indicated by the fivetran UI.
Project variables configuration
Package Version
Warehouse
BigQuery
Additional context
I think the source of the issue is no end date in the fivetran_log.log table for the connector in question (connector_id = reclusive_reprimand)
Screenshots
Please indicate the level of urgency
Surfacing connector statuses is a quarterly objective for us, with a deadline of October 31st.
Are you interested in contributing to this package?
No, I'd prefer if someone else fixed this. I don't have the time and/or don't know what the root cause of the problem is.
The text was updated successfully, but these errors were encountered: