Skip to content

Instantly share code, notes, and snippets.

View matrix-stats.py
import argparse
import resource
import aiohttp
import aiodns
import asyncio
from collections import Counter
import datetime
@aaronraimist
aaronraimist / gist:dd8a5c73f14165e300667f0d0b230d61
Created Jun 16, 2020
Dendrite join #dendrite 2020-06-16 with matrix.org key server
View gist:dd8a5c73f14165e300667f0d0b230d61
time="2020-06-16T01:06:36.898900164Z" level=info msg="Incoming request" func=github.com/matrix-org/util.RequestWithLogging file="/usr/home/freebsd/go/pkg/mod/github.com/matrix-org/util@v0.0.0-20190711121626-527ce5ddefc7/json.go:122" req.id=i4y2biYUSRou req.method=OPTIONS req.path="/_matrix/client/r0/join/#dendrite:matrix.org"
time="2020-06-16T01:06:37.003349604Z" level=info msg="Incoming request" func=github.com/matrix-org/util.RequestWithLogging file="/usr/home/freebsd/go/pkg/mod/github.com/matrix-org/util@v0.0.0-20190711121626-527ce5ddefc7/json.go:122" req.id=JC6Ku5Hu5R9G req.method=POST req.path="/_matrix/client/r0/rooms/!q74mbirjiJDiNQ2r:dendrite.hej.chat/read_markers"
time="2020-06-16T01:06:37.003438343Z" level=info msg="Responding (2 bytes)" func=github.com/matrix-org/util.respond file="/usr/home/freebsd/go/pkg/mod/github.com/matrix-org/util@v0.0.0-20190711121626-527ce5ddefc7/json.go:170" code=200 req.id=JC6Ku5Hu5R9G req.method=POST req.path="/_matrix/client/r0/rooms/!q74mbirjiJDiNQ2r:dendrite.hej.chat/
@aaronraimist
aaronraimist / gist:47030bd8d6d034ca0ba6ab580d2335ae
Created Jun 16, 2020
Dendrite join #dendrite:matrix.org 2020-06-16
View gist:47030bd8d6d034ca0ba6ab580d2335ae
time="2020-06-16T00:51:10.871156219Z" level=info msg="Incoming request" func=github.com/matrix-org/util.RequestWithLogging file="/usr/home/freebsd/go/pkg/mod/github.com/matrix-org/util@v0.0.0-20190711121626-527ce5ddefc7/json.go:122" req.id=xHMwnzbq4xUG req.method=GET req.path="/_matrix/client/r0/directory/room/#dendrite:matrix.org"
time="2020-06-16T00:51:10.873164709Z" level=info msg="Outgoing request" func="github.com/matrix-org/gomatrixserverlib.(*Client).DoHTTPRequest" file="/usr/home/freebsd/go/pkg/mod/github.com/matrix-org/gomatrixserverlib@v0.0.0-20200608125510-defe251235b1/client.go:379" out.req.ID=mlJALYd87NqN out.req.method=GET out.req.uri="matrix://matrix.org/_matrix/federation/v1/query/directory?room_alias=%23dendrite%3Amatrix.org" req.id=xHMwnzbq4xUG req.method=GET req.path="/_matrix/client/r0/directory/room/#dendrite:matrix.org"
time="2020-06-16T00:51:11.103180549Z" level=info msg="Outgoing request returned" func="github.com/matrix-org/gomatrixserverlib.(*Client).DoHTTPRequest" file="/usr/home/fr
You can’t perform that action at this time.