question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: Possible with v2 to have “sub instances” of AI?

See original GitHub issue

This wasn’t possible in v1 and I’ve been picking through the source of v2 but can’t tell if this is / isn’t possible. Today we are achieving this using a custom proxy, but we’re missing out on a lot of the OOTB AI functionality that we don’t want to dupe…

Scenario

A hosting web app (SharePoint) that can host multiple sub components (web parts). These sub components may be built by different people and collect their own telemetry.

Ideal situation is to have AI setup globally in SharePoint, then have the ability for a specific web part to have their telemetry sent to a different AI instance.

Looking at the plugin & initializer APIs, I see the instrumentationKey? property… not clear if I can set a plugin that’s conditional checking for specific data in a telemetry post (event/trace/page view/exception/etc) to see if a different AI intrumentation key can be set conditionally for specific submissions to AI…

Doesn’t appear so… I recall this being a request in the past with v1 and can’t tell if it was implemented in v2 or if the scenario is possible with the new plugin arch.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
markwolffcommented, Jun 10, 2019

Yes telemetry initializers are global, so adding one to each will have it run for every telemetry item outside of its intended scope. Ideally you have just one and it looks for some flag that is unique to telemetry generated by each particular subinstance.

1reaction
markwolffcommented, Jun 10, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Reinforcement learning approach for multi-agent flexible ...
we will split the instance where we make sure that all sub-instances have the same expected duration time for all jobs if possible....
Read more >
Dynamic Programming
Divide and conquer: an instance is broken into many independent sub-instances, which are solved separately. Dynamic programming: the sub-instances we ...
Read more >
Homework 5 Due Tuesday Oct 26 • CLRS 14-2.2 (rb tree black ...
1. Optimal Substructure: An optimal solution to an instance contains an optimal solution to its sub-instances. 2. Overlapping Subproblems: ...
Read more >
Quantifier Trees for QBFs - CiteSeerX
ing to Algorithm 2 (many enhancements to this basic scheme have been proposed). ... more than one child induce sets of disjoint sub-instances...
Read more >
A Novel Automated Curriculum Strategy to Solve Hard Sokoban ...
Solving Hard AI Planning Instances Using Curriculum-Driven Deep Reinforcement Learning ... 2 months ago ... Create sub-instances from I to form a task...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found