ejsmith on elastic7
Oops progress (compare)
ejsmith on elastic7
More log formatting (compare)
ejsmith on elastic7
Fix tests? (compare)
ejsmith on elastic7
Change duration format (compare)
ejsmith on elastic7
Only report progress once every… (compare)
ejsmith on elastic7
Show progress of index that is … (compare)
ejsmith on elastic7
Change migration logging to not… (compare)
niemyjski on elastic7
add failed task ids to log mess… (compare)
@niemyjski I got it working, but not as you proposed. ;) Becauses it would introduce another DI container in our system (to allow injecting my dao into the IEventQueue nicely). It also would require me to add a fake api-key and url to make .Submit() work. (IsValid would fail otherwise)
I use now:
EventBuilder builder = e.ToExceptionless();
EventPluginContext context = new EventPluginContext(builder.Client, builder.Target, builder.PluginContextData);
EventPluginManager.Run(context);
IJsonSerializer serializer = builder.Client.Configuration.Resolver.GetJsonSerializer();
string errorAsString = serializer.Serialize(error.Target);
I even got the old one working :). The key was to upgrade the agent to 2.x and deserialize my json to the "InnerError" type. And submit as "@error" in the Event.Data. I can detect the different versions based on an existing "ExceptionlessClientInfo" property in the json file.
I have still one problem, and don't know if it's my mistake. I want to add additional EnvironmentInfos. So I add entries to the .Data field like: info.Data.Add("system up time", val) but these values do not show up in the UI. Things like: info.Architecutre = "x64" are working fine.
yeah, I know that I could use the DI from exceptionless, but I would need to do that at the "global" space. If I add those informations to the event.data property they are shown up. but it would be nice to have some of them under the "environment" tab. there is the "@environment" together with the EnvironmentInfo class. which works as expected. But the EnvironmentInfo class also has a Data property. Thats the one I tried to use. But I think this is the wrong place, isn't it?
I'm already in the weekend. Let's have a look for it on monday ;)