Comments (14)
Hi @alexei-colvin apologies for the delayed response. Last week was Thanksgiving and I was not able to complete the explanation. I will post back within this Issue and Issue #54 with our DECISIONLOG and also will plan to include the DECISIONLOG.md within the package so others may understand the reason for our transformation logic.
I hope to respond back here by tomorrow with the completed DECISIONLOG 😄
from dbt_zendesk.
Apologies, I just realized that the zendesk__ticket_metrics URL refers to the URL of the ticket, whereas the ticket_metrics.url property from the API refers to the URL of the ticket_metrics JSON. Ignore comment!
from dbt_zendesk.
Hi @alexei-colvin thanks so much for opening this issue.
It was great chatting with you the other day and I am looking into this discrepancy as we speak. I will post back here once I have an update and a branch for you to test out. 😄
from dbt_zendesk.
Hi @alexei-colvin! I hope you had a great weekend.
I was able to investigate these discrepancies a bit more and found some ticket nuances within Zendesk the package was not accounting for. Would you be able to test the below branch version of the package and let me know if this resolves the calendar
first reply times in question?
packages:
- git: https://github.com/fivetran/dbt_zendesk.git
revision: bugfix/first-reply-time-update
warn-unpinned: false
Once you replace your existing version of the package dependency with the version above, you can run dbt deps
and then run your zendesk models and identify if the issues still persist. Let me know if have any questions!
from dbt_zendesk.
Hello @fivetran-joemarkiewicz I hope you had a great weekend too! Thank you for working in this issue, and for the productive chatting last week!
Regarding this revision, I had tried and yes, the first_reply_time_calendar_minutes metric now match for all the tickets, super! There is still a lot of difference in the metric first_reply_time_business_minutes (more than 1000 minutes for a single ticket). This metric is also very important for our analysis. Are you going to do something regarding this one too?
Thanks for everything.
from dbt_zendesk.
@alexei-colvin that's great to hear!
In regards to the first_reply_time_business_minutes
I will most likely not (but will let you know if I find anything in my investigations that will result in an update) be updating this metric to reflect the Zendesk UI as our opinion is that this does not accurately capture the true length of time when tickets are exchanging schedules. However, I will put together a write-up on how we have defined our transformation logic so you may see why we have made our decision.
I will include this write-up in the next release, but will also share it here so you may chat about it more before the next release.
from dbt_zendesk.
hello @fivetran-joemarkiewicz Thanks! I would really appreciate it if you could explain to me what's going on below, to understand why you think the package's results are better than Zendesk's regarding business times.
from dbt_zendesk.
@alexei-colvin thank you again for you patience with me putting together the DECISIONLOG.md for the business time metrics. This was a lot more intensive to document than I was initially intending haha
You can see the full writeup of this decision logic within the DECISIONLOG I have in the development branch. Also, I decided to add a variable that should allow you to override the decision logic and use the Zendesk logic instead if you wish. However, this will not be included as a functionality within the next release of the dbt package and is instead being provided so you may understand the differences between the package output and the Zendesk reports.
To leverage this variable you can add the below config to you dbt_project.yml
vars:
using_zendesk_business_metrics_logic: True #False by default
Let me know if you have any questions when reading through my write-up!
from dbt_zendesk.
Hi @alexei-colvin just wanted to check in if you had a chance to read through the DECISIONLOG above and if it helps answer your question about the business metrics differences between the dbt package and Zendesk?
from dbt_zendesk.
@fivetran-joemarkiewicz would this same logic also potentially affect the ticket_metrics URL
as well?
from dbt_zendesk.
Hi @alanzfu 👋 Would you be able to elaborate a bit more on how the ticket_metrics URL
?
from dbt_zendesk.
Closing this issue as the merged PR above addresses the issue identified. Please feel free to open the ticket if this issue still persists.
from dbt_zendesk.
@fivetran-joemarkiewicz we stumbled upon this thread because we've identified the same behavior the issue targets.
I see you mention a variable that was not added to a future release of using_zendesk_business_metrics_logic
, is that still the case and is there a way to override the package to use the zendesk logic? We are having a hard time finding any reference to the variable in y'alls code base or on the branch mentioned above.
from dbt_zendesk.
Hi @calder-holt ! The variable appears to have been introduced for testing purposes only and was later removed in a later release after tests were validated. You can see in our DECISIONLOG our reasoning for deciding not to capture this data in the same way the Zendesk UI captures it, leading to the discrepancies you are seeing.
To override the package to use the zendesk logic, I'd take a look at this post on how to override the logic of one of our models while still leveraging the package as a whole. This should allow you to make the adjustments you need to achieve your desired outcome.
Let me know if you have any questions!
from dbt_zendesk.
Related Issues (20)
- [Feature] Update dbt-date version range HOT 2
- [Bug] Fivetran Zendesk package references an old status for on hold tickets HOT 1
- [Question] sla_breach_at confusion HOT 5
- [Bug] int_zendesk__schedule_spine - some work schedules not picking up holidays HOT 7
- [Feature] New hours to solve measure HOT 4
- [Feature] Update Zendesk SLA policies to look at historical agents HOT 11
- [Bug] <Missing business minutes metrics in zendesk support ticket metrics> HOT 29
- [Feature] add passthrough columns for USER and ORGANIZATION
- [Feature] multiple zendesk instances HOT 5
- [Bug] Metrics for "Zendesk Messaging" tickets are incorrect HOT 3
- [Feature] Update dbt_date version requirements to include wider range HOT 2
- [Bug] Zendesk SLAs not accurately being captured for certain First Reply Time Business SLAs HOT 2
- [Bug] Minutes in sla_policies can be inaccurate due to where rounding occurs HOT 1
- [Feature] Support for Zendesk Messaging Chat Channels
- [Feature] Support `periodic_update_time` SLAs
- [Feature] Update Zendesk references in README to Zendesk Support HOT 1
- zendesk fivetran DBT package is incorrectly calculating values from the source data HOT 7
- [BUG] Display correct SLA Breach Time in the `zendesk__sla_policies` model for first and next reply times HOT 1
- [Bug] sla policy events failing due to duplicate values HOT 27
- [Feature] Add Flag for CreatedSolvedClosedSameDay HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt_zendesk.