Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
bufke
@david:burkesoftware.com
[m]
The data is from a REAL sentry SDK. It may not match the docs, but it's real world data. It's not intended to be resubmitted via the cli tool.
Paul Iannazzo
@boxxxie
then those SDKs are not respecting the docs
sounds like legacy data to me
bufke
@david:burkesoftware.com
[m]
That happens a lot - we just have to deal with it
Paul Iannazzo
@boxxxie
wouldn't it make sense to have those tests, plus updated ones that more recent SDKs that do respect the docs, like sentry-cli (rust sdk) output?
bufke
@david:burkesoftware.com
[m]
It would be great to have more tests with up to date data. Feel free to contribute. For testing purposes, it's actually very good to have these edge cases that don't respect the API spec. Real people use them and expect them to work. Sometimes even new SDK versions use strange or legacy formats
Paul Iannazzo
@boxxxie
also, what i'm seeing in those data files, is that some of them do respect the docs, and some don't, for the exact same fields (looking at breadcrumbs ATM)
bufke
@david:burkesoftware.com
[m]
If you care about a specific language like rust, maybe you could adopt the error factory and SDK documentation for that language.
Paul Iannazzo
@boxxxie
the sentry-cli uses, or is, the rust-sdk. i think it's much more general to use it over something like a language SDK for the same reason why you guys have these test events in the backend repo (they are human readable)
i don't think i can easily get an SDK to use json files like the cli tool does (i tried already with the java sdk, and these SDKs are just absent of documentation)
i don't know how i would submit a factory to the project, though
bufke
@david:burkesoftware.com
[m]

You could start a new project on gitlab and I can fork it in the error-factories group. I suppose it would make sense to have a sentry-cli-error-factory.

I capture those json events from the backend. It literally just print()s them and I copy and paste. See here. Not fancy!

Paul Iannazzo
@boxxxie
that's good, fancy stuff is scray
bufke
@david:burkesoftware.com
[m]
Then I plug the same event into OSS Sentry and compare. Unfortunately that will get less and less useful as time goes on.
Paul Iannazzo
@boxxxie
i'll make a dir of fields i find that aren't supported by glitch (like fingerprints), when i find them, maybe that'll be useful
bufke
@david:burkesoftware.com
[m]

more docs here https://glitchtip.com/documentation/contribute

Yeah open issues

I can't tell you where to spend your time, but I would prioritize picking a field you care about and implementing it.
Paul Iannazzo
@boxxxie
well, i've mainly been stumbling around by looking at the SDK docs, adding a field to my error, then seeing what glitch does. but now i'm going to be looking at these json files and changing my code to output things that glitch is already good at. so i may not be running into as many issues from now on. but i think fingerprints can be converted to tags (if those are supported), and i have a few fields that i do care about (messages and help_link). maybe i'll find some more later. i think documenting the payload -> render is actually the best thing i can do right now, which has the cli factory as a first step.
Paul Iannazzo
@boxxxie
the json files in glitch are now helping me find bugs in sentry-cli...
Paul Iannazzo
@boxxxie
i should have a repo for a sentry-cli factory up sometime soon, i just finished getting all the json files to be accepted by the cli. i'll make a folder for error examples also
bufke
@david:burkesoftware.com
[m]
Has anyone here used redis sentinel? It seems nice in theory. I can't get it to work reliably with the bitnami helm chart and pyredis.
I also added more env vars to support it in GT. Even if I don't end up using it myself, we should support it.
The "mymaster" exists. Reading some bug reports, it sounds like this error is raised if basically anything at all goes wrong. Such as a network timeout.
consumer: Cannot connect to sentinel://:**@glitchtip-staging-redis-node-2.glitchtip-staging-redis-headless:26379/0: No master found for 'mymaster'.
Trying again in 32.00 seconds... (16/100)
bufke
@david:burkesoftware.com
[m]
Ah it was really an authentication error. I'll write up some docs on using sentinel when I'm done. It's amazingly unintuitive and any error results in the misleading error about finding the master.
bufke
@david:burkesoftware.com
[m]
@pepedocs I'm working on adding prometheus support to the compose file and helm chart if any of that sounds interesting to you. Defaulting to disabled. I'm starting by converting your compose file into a docker-compose.metrics.yml
Eventually I'd like to add this stuff to app.glitchtip.com
Ennio Bozzetti
@enniob
Does anyone know if there is any plugin to work on an airgap environment and save the logs to a file?
bufke
@david:burkesoftware.com
[m]
Anything that works with django should work. Worst case you may need to submit an merge request should you need to modify settings.py and add an environment variable
Logs default to std out. So any solutions that logs that to a file would work
Tim Seriakov
@timseriakov
Hi all, I want to integrate glitchtip with pumble.com via webhook, is it possible to change the format of the object that POST from glitchtip?
Tim Seriakov
@timseriakov

screenshot

I found a simple solution through the third-party service https://pipedream.com/. I am able to reformat the data manually, everything is fine. But accidentally in the channel appeared automatically generated beautifully rendered message. I absolutely do not understand how it happened and can not reproduce... Any advice?

bufke
@david:burkesoftware.com
[m]
GlitchTip uses slack compatible webhooks. Many services will respect those. If you need to adjust it you could submit a MR.
We've extended it a bit to support Microsoft teams already
bufke
@david:burkesoftware.com
[m]
If you are self hosting GlitchTip, not using nginx, and using @sentry/node version 7+ please read glitchtip/glitchtip-backend#169. I'd really like to know what load balancers/proxy servers work by default.
bufke
@david:burkesoftware.com
[m]

GlitchTip 2.0.4 is worth updating for. See post. I'm curious if people like minor updates like this and in what format. We usually only post major feature updates via email and I can't imagine people want weekly patch release notes emailed.

Right now it's kind of:

Major news

All news:

Wenzhi Liang
@wzhliang
{"detail":"JSON parse error - 'utf-8' codec can't decode byte 0x93 in position 215: invalid start byte"}% I am trying to upload a minidump file and got the following error
can somebody give me some pinters?
bufke
@david:burkesoftware.com
[m]
I'm not really sure what a minidump is. If you want to contribute support I can assist on explaining how others have done so. I built sourcemap support and someone else added DIF file support for mobile apps.
bufke
@david:burkesoftware.com
[m]
Which is better

Left is a very simplistic way of using prismjs to add code highlights. It's kind of dumb because it thinks the line numbers are part of the language code. But the CSS is GlitchTip CSS instead of just default prismjs CSS

Right is prismjs. The right lets you copy and paste the code without getting the line numbers

Another comparison
james.kiger: what do you think
bufke
@david:burkesoftware.com
[m]
We could probably adjust the prism css too
james.kiger
@james.kiger:burkesoftware.com
[m]
Copy and paste without line numbers is a pretty big plus in my book
bufke
@david:burkesoftware.com
[m]
I could keep this in a MR and you could restyle it when you have a moment. I implemented it rather selectively. It will only do this when it's a known to work event platform. Just remember to consider global prismjs style vs specific to this block
we use prismjs to show inline documentation as well - and we probably want that styled differently
the dom structure here is WAY better. It's not a billion elements. Also I like the implementation better than OSS Sentry which didn't do anything like this