#metabrainz

/

      • yvanzo
        zas: it is supposed to use pink but it has access to both
      • 2021-02-02 03332, 2021

      • yvanzo
      • 2021-02-02 03352, 2021

      • scory joined the channel
      • 2021-02-02 03322, 2021

      • scory
        Hello, I am currently developing a graphql endpoint for the musicbrainz api. I have the basic queries, i can search for annotations, areas, artists, etc.. However I don't know how to solve one problem. If i have for example a relations for one of the entity, i would like to batch a request and send it to the api to resolve those requested fields in
      • 2021-02-02 03323, 2021

      • scory
        one request instead of 100. Is there a way to do so?
      • 2021-02-02 03323, 2021

      • scory
        For example: An event has a relation to a place and an artist. How can I send a request to the api to get both of these entities with the data i would like to show? I have both ids, but I would like to get more data from them than the basic response.
      • 2021-02-02 03324, 2021

      • scory
      • 2021-02-02 03339, 2021

      • ruaok
        hi scory
      • 2021-02-02 03307, 2021

      • ruaok
        right now we don't support what you're wanting, sorry. but we agree that that would be the blueprint for future versions of the API
      • 2021-02-02 03341, 2021

      • scory
        Okay, thank you for the quick answer.
      • 2021-02-02 03345, 2021

      • ruaok
        the only real way of doing what you want to do is to install a copy of MB on a VM and then query postgres directly, but that is much more work than calling an API. :(
      • 2021-02-02 03327, 2021

      • scory
        Yeah it is, and i only want to use what i can from the API. Is there a way to add a flag for the API to get a response without anything left out? For example, an entity has aliases, relations and tags but the don't always contain data so the response won't show the aliases. Is there a way to force the api to give those back as well? even if its
      • 2021-02-02 03328, 2021

      • scory
        just a null value
      • 2021-02-02 03307, 2021

      • ruaok
        have you taken a look at the inc= arguments?
      • 2021-02-02 03312, 2021

      • scory
        I have, but in the example: https://musicbrainz.org/ws/2/event/?query=eid:bc5… it doesn't add anything. And those are used when you don't use the ?query tag if i understood it, and doesn't have an impact in this case. Or maybe it does and i use it in the wrong way.
      • 2021-02-02 03313, 2021

      • scory
        Or other example, when i query annotations i haven't found a way to query the id's of the annotations. (http://musicbrainz.org/ws/2/annotation/?query=ent…)
      • 2021-02-02 03304, 2021

      • ruaok
        ah yes, it is not available for search, sorry I didn't look at your url carefully enough.
      • 2021-02-02 03343, 2021

      • ruaok
        reosarevok is better with the ins and outs of the api. reosarevok cam you help?
      • 2021-02-02 03331, 2021

      • loujine
      • 2021-02-02 03339, 2021

      • loujine
        since you know the mbid
      • 2021-02-02 03303, 2021

      • scory
        I have known that you can search an entity with that, but that was still helpful in other way for me. Thank you.
      • 2021-02-02 03304, 2021

      • scory
        The problem is if i have the 25 events for example, I can't really send 25 seperate requests for the API to get these details because the one request per second limit. Or if we talk about 100 it's more bothersome.
      • 2021-02-02 03357, 2021

      • ruaok
        I dont think it is realistic to make this endpoint using our API. With direct DB access, yes.
      • 2021-02-02 03316, 2021

      • scory
        It might be. Thank you both for the information.
      • 2021-02-02 03321, 2021

      • scory has quit
      • 2021-02-02 03335, 2021

      • reosarevok
        ruaok: sorry, was distracted and I guess it's late now
      • 2021-02-02 03329, 2021

      • reosarevok
        There's already https://github.com/exogen/graphbrainz but I guess that's not been updated for a while
      • 2021-02-02 03356, 2021

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1889 (master…MBS-11359): MBS-11359: Add GeoNames to the sidebar https://github.com/metabrainz/musicbrainz-server/…
      • 2021-02-02 03325, 2021

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] opened pull request #1267 (master…dependabot/pip/master/bleach-3.3.0): [Security] Bump bleach from 3.2.1 to 3.3.0 https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-02 03335, 2021

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] opened pull request #1268 (master…dependabot/pip/bleach-3.3.0): [Security] Bump bleach from 3.2.1 to 3.3.0 https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-02 03338, 2021

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] closed pull request #1264 (master…dependabot/pip/bleach-3.2.3): Bump bleach from 3.2.1 to 3.2.3 https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-02 03358, 2021

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] opened pull request #1269 (production…dependabot/pip/production/bleach-3.3.0): [Security] Bump bleach from 3.2.1 to 3.3.0 https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-02 03330, 2021

      • v6lur joined the channel
      • 2021-02-02 03325, 2021

      • v6lur_ joined the channel
      • 2021-02-02 03325, 2021

      • v6lur has quit
      • 2021-02-02 03335, 2021

      • dseomn has quit
      • 2021-02-02 03338, 2021

      • dseomn joined the channel
      • 2021-02-02 03345, 2021

      • dseomn has left the channel
      • 2021-02-02 03303, 2021

      • dseomn joined the channel
      • 2021-02-02 03345, 2021

      • Zhele joined the channel
      • 2021-02-02 03312, 2021

      • zas
        bitmap: ping
      • 2021-02-02 03303, 2021

      • sumedh has quit
      • 2021-02-02 03345, 2021

      • v6lur_ has quit
      • 2021-02-02 03301, 2021

      • Gazooo7949440 has quit
      • 2021-02-02 03347, 2021

      • Gazooo7949440 joined the channel
      • 2021-02-02 03302, 2021

      • bitmap
        zas: pong
      • 2021-02-02 03315, 2021

      • zas
        Hey
      • 2021-02-02 03340, 2021

      • zas
        we had weird issues with sir-prod failing to connect to pg on floyd
      • 2021-02-02 03316, 2021

      • zas
      • 2021-02-02 03331, 2021

      • zas
        it happened 3 times at least today
      • 2021-02-02 03323, 2021

      • zas
        I wonder why this is happening, perhaps too many connections at the same time or something like that, but I didn't find anything saying so
      • 2021-02-02 03338, 2021

      • bitmap
        hmm
      • 2021-02-02 03327, 2021

      • zas
        where are pgbouncer logs?
      • 2021-02-02 03322, 2021

      • zas
        I noted some of postgresql logs are duplicated in various /var/log files, that's something to improve imho, prolly through proper syslog ng config inside container
      • 2021-02-02 03323, 2021

      • bitmap
        they're outputted to docker logs, at least
      • 2021-02-02 03306, 2021

      • zas
        no occurence of pgbouncer in last 1M lines
      • 2021-02-02 03326, 2021

      • zas
        do I miss something?
      • 2021-02-02 03349, 2021

      • bitmap
        huh, not sure. there are some on pink though they are not labeled with "pgbouncer", just LOG stats
      • 2021-02-02 03330, 2021

      • bitmap
        I don't think it's configured to log much beyond stats
      • 2021-02-02 03312, 2021

      • bitmap
        but the postgres logs/graphs don't really show anything suspicious to me
      • 2021-02-02 03336, 2021

      • zas
        I checked firewall logs, no packet were blocked on pink or floyd
      • 2021-02-02 03325, 2021

      • sampsyo has quit
      • 2021-02-02 03324, 2021

      • sampsyo joined the channel
      • 2021-02-02 03355, 2021

      • Nyanko-sensei joined the channel
      • 2021-02-02 03301, 2021

      • d4rkie joined the channel
      • 2021-02-02 03302, 2021

      • Nyanko-sensei has quit
      • 2021-02-02 03312, 2021

      • Etua joined the channel
      • 2021-02-02 03309, 2021

      • Etua has quit