These are chat archives for exceptionless/Discuss

5th
Feb 2016
Eric J. Smith
@ejsmith
Feb 05 2016 16:39
yeah, we are using that.
Blake Niemyjski
@niemyjski
Feb 05 2016 16:40
work pretty good?
Eric J. Smith
@ejsmith
Feb 05 2016 16:40
yeah
James Connor
@megakid
Feb 05 2016 16:45
hi quick question that you might know off the top of your head - whats the url to get the ping json response from exceptionless, e.g. "message": "All Systems Check",
Eric J. Smith
@ejsmith
Feb 05 2016 16:45
/api/v2/status
I believe
James Connor
@megakid
Feb 05 2016 16:45
thanks
that works :)
Eric J. Smith
@ejsmith
Feb 05 2016 16:45
cool :-)
Blake Niemyjski
@niemyjski
Feb 05 2016 16:46
:)
Frank Ebersoll
@frankebersoll
Feb 05 2016 17:30
tgif
building our own Markdown dialect and integrating it into studio via NuGet only. a mess.
Blake Niemyjski
@niemyjski
Feb 05 2016 17:33
yeah
I wouldn’t do that
lol
Eric J. Smith
@ejsmith
Feb 05 2016 17:33
haha
Blake Niemyjski
@niemyjski
Feb 05 2016 17:34
why not just use markdown?
Frank Ebersoll
@frankebersoll
Feb 05 2016 17:43
we use markdown, but want to integrate UML (plantuml) and tables and gitlab-like syntax
so you can write fenced code blocks like ~~~uml and put „A -> B: Message“ there and have it translated to a sequence diagram
what needs to be done in our javascript client? did anybody look into the storage thing?
Blake Niemyjski
@niemyjski
Feb 05 2016 17:52
nope
I was focusing on the security issues
we need to finish that up
and then hook up user agent stuff that I just committed to .net
Eric J. Smith
@ejsmith
Feb 05 2016 17:57
I need to add an issue for the x-forwarded-for header thing.
that could be a huge help for identifying end users properly
Blake Niemyjski
@niemyjski
Feb 05 2016 18:03
yeah
but might not ever do anything
well
I guess it might if we start going off of ip address instead of user
Blake Niemyjski
@niemyjski
Feb 05 2016 18:13
@frankebersoll what needs to be done again
we wanted to move it ot a base class that shared more code?
or did it just need testing
I can test it now or I can work on the user agent stuff that’s in the .net client
Eric J. Smith
@ejsmith
Feb 05 2016 18:13
well, we do go off of ip for anonymous ones.
Blake Niemyjski
@niemyjski
Feb 05 2016 18:14
@ejsmith not currently...
sigh so much to do which one
Eric J. Smith
@ejsmith
Feb 05 2016 18:14
yeah, neverending.
Blake Niemyjski
@niemyjski
Feb 05 2016 18:15
have .net and js things to get done but also want to take a look ath foundatio.. unless you can do that ejsmith
Blake Niemyjski
@niemyjski
Feb 05 2016 18:56
man these foundatio tests are getting slower
and I have like 8 failing right now
in that branch
Eric J. Smith
@ejsmith
Feb 05 2016 19:11
Yeah, we need to spend some time on them.
Blake Niemyjski
@niemyjski
Feb 05 2016 19:11
so down to one failing test
:)
Eric J. Smith
@ejsmith
Feb 05 2016 19:12
Cool
Blake Niemyjski
@niemyjski
Feb 05 2016 19:12
I just did some serious renaming of the azure libs
was a few inconsistencies
omfg
they FINALLY fixed the stupid azure portal graphs
where the date ranges would overlay
Blake Niemyjski
@niemyjski
Feb 05 2016 19:57
@ejsmith we have a few azure message bus tests failing
Eric J. Smith
@ejsmith
Feb 05 2016 19:58
ok
Blake Niemyjski
@niemyjski
Feb 05 2016 19:59
can you see if they are failing for you
I’m on a crappy internet right now
and don’t know if it’s latency
Eric J. Smith
@ejsmith
Feb 05 2016 19:59
not right now
Blake Niemyjski
@niemyjski
Feb 05 2016 19:59
ok
Eric J. Smith
@ejsmith
Feb 05 2016 19:59
can take a look with you soon
Blake Niemyjski
@niemyjski
Feb 05 2016 19:59
kk
Frank Ebersoll
@frankebersoll
Feb 05 2016 20:46
@niemyjski I am doing the refactoring right now
Blake Niemyjski
@niemyjski
Feb 05 2016 20:52
cool
thanks
guess it’s time to update haha
Eric J. Smith
@ejsmith
Feb 05 2016 21:08
just update to aurelia and call it a day
Blake Niemyjski
@niemyjski
Feb 05 2016 21:27
@srijken I’m sorry for taking so long to get to this
but todays your day
exceptionless/Exceptionless.Net#15
how do you feel about a plugin that sits with a really low priority and when it sees an aggregate exception it does two things..
cancels it, and calls flatten on it and submits x new events per exception
Eric J. Smith
@ejsmith
Feb 05 2016 21:29
I think that would work.
Blake Niemyjski
@niemyjski
Feb 05 2016 21:29
ok
I’m going to work on that.. for simple errors (just the pcl client) there isn’t anything we can do
because it doesn’t have the aggregateexception type
unless we used reflection..
would be so nice to bump our minimum versions to 4.5.2
since thats the only thing that’s supported by microosft.
btw
probably has agg exception in the latest profiles
Blake Niemyjski
@niemyjski
Feb 05 2016 21:48
exceptionless/Exceptionless.JavaScript@d678bc2
ok
another issue down
@frankebersoll we need to test that and local storage and push a minor release :)
let me know when ever you get the refactor done and I’ll test it
in the mean time I’m going to go work on the aggregate exception issue
@ejsmith @srijken can you both look at this and let me know if there is anything else we need to do for it other than test exceptionless/Exceptionless.Net#71
wait now I remember I wrote down a task to write some perf tests in master
and merge them in so I could see before and after as well as add some good test data
sigh
Blake Niemyjski
@niemyjski
Feb 05 2016 21:59
[Priority(15)]
public class HandleAggregateExceptionsPlugin : IEventPlugin {
    public void Run(EventPluginContext context) {
        var aggregateException = context.ContextData.GetException() as AggregateException;
        if (aggregateException == null)
            return;

        var exception = aggregateException.Flatten();
        if (exception.InnerExceptions.Count == 1) {
            context.ContextData.SetException(exception.InnerException);
            return;
        }

        foreach (var ex in exception.InnerExceptions) {
            // copy entire context;
            // submit event again..
        }

        context.Cancel = true;
    }
}
Blake Niemyjski
@niemyjski
Feb 05 2016 22:06
we have nothing for cloning an event
guess I could serialize it and then deserialize it
public void Run(EventPluginContext context) {
var aggregateException = context.ContextData.GetException() as AggregateException;
if (aggregateException == null)
return;
        var exception = aggregateException.Flatten();
        if (exception.InnerExceptions.Count == 1) {
            context.ContextData.SetException(exception.InnerException);
            return;
        }

        foreach (var ex in exception.InnerExceptions) {
            var ctx = new ContextData(context.ContextData);
            ctx.SetException(ex);

            var serializer = context.Resolver.GetJsonSerializer();
            context.Client.SubmitEvent(serializer.Deserialize(serializer.Serialize(context.Event), typeof(Event)) as Event, ctx);
        }

        context.Cancel = true;
    }
That stinks but I don’t want to have a reference to anything as the message could be changed per event type
Frank Ebersoll
@frankebersoll
Feb 05 2016 23:51
@niemyjski Refactoring done, merged your code.
Blake Niemyjski
@niemyjski
Feb 05 2016 23:54
exceptionless/Exceptionless.Net@9dee17a
awesome :D
@frankebersoll I’ll test it out