Skip to content

Instantly share code, notes, and snippets.

@dsandip
dsandip / Metrics.md
Created July 25, 2019 13:24
Metrics in commercial product


Objective

The incoming log stream from Hasura instances can be analyzed to derive metrics about the instance and it’s performance.

These can help with real-time requests per second, success-error rates, query whitelisting, regression tests, field level analytics etc.

These features can be broadly classified into four buckets:

@dsandip
dsandip / Metrics.md
Created July 25, 2019 13:23
Metrics in commercial product
<title>Metrics in commercial product</title>
@dsandip
dsandip / allow-list.graphql
Last active January 18, 2025 19:16
Sample file with queries and mutations that can be used to populate an allow-list
# will be ignored by the allow-list
type Starship {
id: ID!
name: String!
length(unit: LengthUnit = METER): Float
}
# will be ignored by the allow-list
scalar parsec

Are you a Haskeller?

We are looking for an experienced Haskell developer to join our team to build cutting-edge tools for GraphQL!

Location

Bangalore, India

We are looking for

  • Extensive experience with large-scale Haskell based applications

Calling all full-stack developers!

Location

Bangalore, India

Job description

  • A full-stack developer with significant frontend development experience to become an expert on all things Hasura & GraphQL.

  • Said expertise to be used to help the developer community and Enterprises.

{
authors(order_by: {id: asc}) {
id
name
articles {
id
title
}
}
}
@dsandip
dsandip / create-PostGIS-extension.sql
Last active May 15, 2020 23:26
Commands to create PostGIS extension for Postgres
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
@dsandip
dsandip / hge-components-stacks-and-contributing-guidelines.md
Last active January 21, 2019 08:59
GraphQL Engine - List of components, stacks and contributing guidelines
@dsandip
dsandip / support-PostGIS-operators.md
Created January 18, 2019 05:37
Supported PostGIS operators in GraphQL Engine
PostGIS topology operator equivalent GraphQL operator
ST_Contains _st_contains
ST_Crosses _st_crosses
ST_Equals _st_equals
ST_Intersects _st_intersects
ST_Overlaps _st_overlaps
ST_Touches _st_touches
ST_Within _st_within
ST_DWithin _st_d_within
@dsandip
dsandip / postgis-topology-operators-example-variable.json
Created January 18, 2019 05:25
PostGIS topology operators sample variable
{
"district_polygon": {
"type": "Polygon",
"coordinates": [
[
[
0,
0
],
[