23 Apr 2021 08:11 PM - last edited on 01 Jul 2021 01:29 PM by MaciejNeumann
Has anyone from the Dynatrace Team some more info on the new feature "Topology Model"?
Since it's already there I wanted to tap into it to e.g. map out some kind of network routing topology maybe?
Nothing in the docs or in any blogpost, seems like a featureflag that was turned on without any purpose 🙂
Solved! Go to Solution.
24 Apr 2021 02:30 PM - edited 24 Apr 2021 02:35 PM
It’s for defining a custom topology to deal with custom metrics. Here is some information from help on the subject: https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/topology-model/...
26 Apr 2021 04:53 AM
That looks crazy powerful.... Awesome.
26 Apr 2021 08:24 AM
Thanks! Last time I checked the Documentation wasn't there yet.
It also seems a bit 'outdated' some of the UI sections are not well described.
I tried to set up some relationships as described here:
I'm testing with data ingests like this:
threesixtyperf.network.tracert,src=<ip>,dst=<ip> 200
Basically measuring the latency for route hops. To do that I thought of defining entities with relationships between eachother (mapping the route): src calls dst - which would map the routing path/dependency.
I'm able to get the custom entities, as confirmed by the entity API:
And entities like this:
But I'm struggling with getting the relationship "calls" working. As per above description you need to define two extraction rules with different roles but the same entity type:
As per the documentation:
With the above example, two service instances of the same service type should be extracted and combined with a call relationship.
In this case, one extraction rule has to be identified with a role (caller) and the other extraction with a different role (callee).
During the extraction of the relationship, the caller and callee role can then be used to specify the direction of the resulting relationship.
I understand this as I need to define two extraction rules for the Generic Entity Type like this to define a role for "src" and one for "dst", so I can link the two with a call relationship.
However in such a case the first rule will always match and thus the second will not be evaluated (note the remark in the screenshot that only one rule will be evaluated. So one entity cannot be "src" and "dst" at the same time. Also the example from the documentation (caller and callee) would not work if you want to model call dependencies like service1 -> service2 -> service3.
Maybe I'm missing something, but how would this work?
Thanks,
Reinhard
24 Apr 2021 02:37 PM
Here is another reference in help: https://www.dynatrace.com/support/help/shortlink/topology-model#custom-topology-model
26 Apr 2021 09:10 AM
Help documentation is here:
So far it's an API first feature, as the Dynatrace UIs for showing those custom entity types will come in one of the next releases.
As our newly introduced Extensions framework uses this possibility to define custom topology types and relationships, we decided to also show the new feature transparently in the settings, even if the UI is coming later.
I agree that my help on 'roles' is a bit thin, I will see to extend it to show the full configured screen and for what it is used.
In short, the roles are used to distinguish two instances of the same type, in case they appear in the same metric lines, as in your example with the three performance.
Best regards,
Wolfgang
06 May 2021 07:41 AM
HI @wolfgang_beer ,
I'm diving a bit deeper into this but I still haven't managed to get the roles (dependency between two entities of the same type) to work. It would be great to get a working example for this!
Thanks,
Reinhard
06 May 2021 10:31 AM
Hi Reinhard,
I will briefly talk about this in tomorrow's Partner Tech Update: https://info.dynatrace.com/global_all_wc_tech_update_series_15977_registration.html
Thomas
07 May 2021 01:09 PM
Funny to see you're back at Dynatrace again! You might remember me under a different name though....was is 2012 when you left the lab? 🙂
11 May 2021 07:50 AM
Of course I remember 😁
Yep, left the lab in 2012, joined again in 2019 - you always get to meet each other twice!
21 May 2023 04:18 PM
Hi All!
I would like to follow up on this thread. I have also tried to implement a kind of IoT like monitoring with custom topology. Metrics are flowing in nicely and I can setup alerting on top of it. But it seems the entity relationship is not there. At least Davis did not correlate the related issues.
However, I am not sure what are the best practices and the best usage here:
22 May 2023 06:56 AM
Hi @sandorbihary ,
22 May 2023 07:41 AM
1.) Smartscape was never updated to also show the new topology types, mainly because smartscape view was restricted to a very static layer model that does not fit well with completely custom topology types. In Grail I would expect that we show all entity types in a new smartscape visu.
2.) Davis currently just follows the custom runs_on relationships. The others are ignored, except as you said if you trigger the causal correlation analysis, there we take all the relationships and entities that are used and defined on the same page. We will of course add all other relationships in the Grail Davis analyzer once we are ready.
22 May 2023 10:43 AM
It would really make sense for Davis to consider other relations if they are configured so (maybe a flag on the relationship definition?). This would improve coverage of root cause analysis on custom topologies which is currently limited.
22 May 2023 11:30 AM
Sure sure, there is no discussion about that. We plan to make it configurable with custom root-cause checks and traversal logic. Deployable through app definitions. At least thats the plan. Lets see how fast we can deliver that 🙂
21 Aug 2024 04:40 PM
Stumbled upon this conversation today as I was searching for info on custom topology and Davis. Curious if there have been any updates or enhancements to the topology model and relationships to support problem root cause analysis? With the continued expansion of the extension 2 framework we see several relationship types are being set by these extensions. Additionally we are creating our own types. I am looking for some guidance on what we can expect from problem event/metric correlation and problem root cause analysis for custom entity types based on the relationship types used. Will custom all custom entity types and all relationship types be traversed and analyzed?
22 Aug 2024 06:41 AM
Currently we are finishing the Davis Problems UI part with some significant enhancements. After this we will start to modify the Root-Cause engine to incorporate your additonal relationships and offer more configuration possibilities in terms of merge and split rules etc. We already started in that direction with a smaller feature which already considers network ALBs and to show root causes for those cloud load balancers.
Best greetings,
Wolfgang