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]
I noticed GitLab is re-implementing sentry as well. Their version is in rails and just supports their existing integration which is a bit more basic than what GlitchTip aims for.
I commented to see if anyone wants to collaborate.
bufke
@david:burkesoftware.com
[m]
Also not related to GlitchTip, I'm looking for long term contract work or fulltime work. DM me if you want to talk. Consider it one way to fund GlitchTip 😆 NYC or remote. Ideally I want to find something stable and 3-4 days a week but I'm not sure what the market is like for that.
bufke
@david:burkesoftware.com
[m]
I'm almost done a change to push the tag and free text search index into a celery task. Letting scope creep get me down. This is a decent search index but it still caps the events at 1000 (was previously 100)
SELECT strip(jsonb_to_tsvector('english', jsonb_agg(data), '["string"]'))
FROM (SELECT events_event.data from events_event where issue_id = x limit 1000) as data;
The main issue here is that allowing it to be unlimited results in ERROR: total size of jsonb array elements exceeds the maximum of 268435455 bytes and string is too long for tsvector (1101146 bytes, max 1048575 bytes) and is potentially slow.
bufke
@david:burkesoftware.com
[m]
as well as we can't save 238 mb of search indexes just for 1 issue :P
There's a reasonable use case for that - maybe you want to search by a customer ip address. You can't if that doesn't make it in the index. But that's a lot of disk space storing so much...
farfromrefuge
@farfromrefug

@BrendanBerkley_gitlab

thats all i did to the compose.yml sample

I have the same issue as you. Cant get glitchtip to run. Anyone has any idea?

farfromrefuge
@farfromrefug

@BrendanBerkley_gitlab

thats all i did to the compose.yml sample

I have the same issue as you. Cant get glitchtip to run. Anyone has any idea?

got it to work. I had changed the port in env. It should remain to 8000

bufke
@david:burkesoftware.com
[m]
The environment filter overhaul is about done. I'm adding a new benchmarking command though to help comparison performance for event intake. The filter itself is trivial, it's the way we ingest event data that's hard.
mowee
@mowee:matrix.org
[m]
Hello!
I'm trying to fire some alerts to a discord webhook. Unfortunately, nothing is reaching the endpoint
bufke
@david:burkesoftware.com
[m]

I haven't tested discord, do you think you could open an issue on gitlab and ideally a merge request with a failing unit test?

Webhooks use the slack-like message syntax. So if an app doesn't support it, then it won't work.

It may not be a huge lift if you're looking to contribute. You can see how I added some extra syntax to support MS Teams.
mowee
@mowee:matrix.org
[m]
That probably explains it, discord is waiting for at least {"content": ""}
bufke
@david:burkesoftware.com
[m]
The current strategy is just send one webhook with as much data as possible to support as much as possible. I don't think there is any real standards here but I'm not an expert on how webhooks work with different chat programs. I wonder if anyone ever made like a third party library to handle this..
mowee
@mowee:matrix.org
[m]
Understandable, I'll open a merge request for this
Thanks for your work by the way, I will definitely turn on some plans when needed
bufke
@david:burkesoftware.com
[m]
Thanks for contributing
(Also can send GlitchTip stickers for accepted merge requests, if interested)
mowee
@mowee:matrix.org
[m]
Hello, I was working on the merge request when... I saw something in the discord documentation
There is no need to do a MR, glitchtip webhooks work perfectly with adding suffix /slack
james kiger
@james.kiger_gitlab
Nice find, @mowee:matrix.org! Thanks for the update
bufke
@david:burkesoftware.com
[m]
Would probably be ideal to support this automatically in code.
Christoph
@Siedlerchr
Hi, first of all thanks for the cool lightweight alternative to sentry! I would like to manually send user feedback to glitchtip. Is this possible? I did not find any information about the auth token stuff. Could a DSN auth be also a solution?
https://docs.sentry.io/api/projects/submit-user-feedback/
bufke
@david:burkesoftware.com
[m]
Yes it's possible. Our user document isn't great right now and is a good opportunity to contribute. The sdk control those user feedback forms so just use it as normal.
Auth tokens are under profile
Christoph
@Siedlerchr
Thanks for the fast response! Will testit
Christoph
@Siedlerchr
@david:burkesoftware.com Unfortunately, that didn't work http://localhost:8000/api/0/projects/<orgslug>/<projectslug>/user-feedback/ , I am getting a 403 error back
token is project write + event write scope
bufke
@david:burkesoftware.com
[m]
It's intended to work, I don't actually use feedback forms myself so I don't know much off the top of my head
I think I tested it once with JavaScript ages ago
Christoph
@Siedlerchr
The normal embeddable js widget works when I use that, but I would rather not use that
bufke
@david:burkesoftware.com
[m]
ah! Yes I believe I only used that widget
GlitchTip attempts to be API compatible with sentry, so if there is something on the backend that a sentry sdk can use, it would be nice to support. Contributions welcome.
Christoph
@Siedlerchr
Ah okay, seems like the endpoint is not yet implemented https://gitlab.com/glitchtip/glitchtip-backend/-/blob/master/projects/urls.py judging from the code. Unfortunately, not a python dev...
bufke
@david:burkesoftware.com
[m]
Understood, you could still open a detailed issue if you want. We also offer paid support that can include prioritizing features important to you.
Christoph
@Siedlerchr
Okay, I will create a new issue.
bufke
@david:burkesoftware.com
[m]
Thanks (and setting expectations - I may not personally get to this for a long time)
Christoph
@Siedlerchr
Good to know. Maybe someone else is interested :)
bufke
@david:burkesoftware.com
[m]

I'm making a handy new tool

./manage.py ingest_benchmark
0.8869080519998533

The idea is to very quickly benchmark. It's probably not as good as using locust for load testing on a real server, but it's fast and easy to run on different branches and compare.

and it's safe to run in production environments even
bufke
@david:burkesoftware.com
[m]

My glitchtip/glitchtip-backend!80 that moves some event processing into celery has exactly the results I would expect.

Must faster event processing in the web request, almost twice as fast.
Lower overall processing likely due to redis/celery overhead and a need for additional queries.

I think that's mostly a good thing - I might spend just slightly longer seeing if I can optimize further
Optimizing is tough too. I could very likely move more work to the database and get a faster benchmark. BUT that isn't really desirable for large scale deployments. It's scalable to do more work via read queries and python. Even if more CPU time is required, it's easy to add celery workers and read only DBs.
james kiger
@james.kiger_gitlab

I'm currently working on implementing uptime monitoring on GlitchTip's frontend (at the moment it is only available from the administrative backend). Trying to come up with some help text for the various types of monitors we offer. What does everyone think of these descriptions?

Ping: GlitchTip will "ping" the specified URL using an HTTP HEAD request with no payload.

GET: GlitchTip will send an HTTP GET request to the specified URL.

POST: GlitchTip will send an HTTP POST request to the specified URL.

Heartbeat: GlitchTip will await requests from your site to ensure it is active.

bufke
@david:burkesoftware.com
[m]
Maybe Heartbeat: GlitchTip will await requests from your site to ensure it is active. If it doesn't receive the request, it will be marked as Down.
james kiger
@james.kiger_gitlab
Ah, good addition. Thank you
bufke
@david:burkesoftware.com
[m]
for any spectators, the monitoring code is very easy to follow actually https://gitlab.com/glitchtip/glitchtip-backend/-/blob/master/glitchtip/uptime/utils.py#L35
well...easy to read if you know how async python works :P and probably fine if you don't.