graphql-engine/docs/static/img/enterprise
Brandon Simmons f0441a3d61 INFRA-833: OpenTelemetry exporter for metrics
I scratched out some changes to support this in the front end, mostly to test it easily,   maybe this can be used without much rework (validation seems to work correctly, but the tests need to be extended and probably fixed):

<img width="648" alt="fd" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/e5873a90-ef83-43c3-9d54-cfc0a693baca">

-------

## Fake OTel collector for testing

ChatGPT spit this out, and it's what I used to test, if it's useful to others:

``` python
from flask import Flask, request
from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import ExportTraceServiceRequest
from opentelemetry.proto.collector.metrics.v1.metrics_service_pb2 import ExportMetricsServiceRequest
import google.protobuf.json_format as json_format

app = Flask(__name__)

@app.route("/v1/traces", methods=["POST"])
def handle_traces():
    if request.method == 'POST':
        binary_trace = request.get_data()
        trace_request = ExportTraceServiceRequest()
        trace_request.ParseFromString(binary_trace)
        print("Received trace data:\n")
        print(json_format.MessageToJson(trace_request, indent=2, preserving_proto_field_name=True))
        return "Trace data received", 200

@app.route("/v1/metrics", methods=["POST"])
def handle_metrics():
    if request.method == 'POST':
        binary_metric = request.get_data()
        metric_request = ExportMetricsServiceRequest()
        metric_request.ParseFromString(binary_metric)
        print("Received metrics data:\n")
        print(json_format.MessageToJson(metric_request, indent=2, preserving_proto_field_name=True))
        return "Metrics data received", 200

if __name__ == "__main__":
    app.run(host="0.0.0.0", port=8080)
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9552
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: f340bfc5c135a7bb24735b524d015e05db422fd2
2023-07-26 05:22:17 +00:00
..
prometheus docs: add prometheus grafana dashboard 2023-06-16 12:30:52 +00:00
Dex-sso.png docs: add dex info for google sso 2023-05-26 15:53:44 +00:00
hasura-ee-architecture.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
lux-2.0-upgrade-fix.gif Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
open-telemetry-exporter_config-ui_2-18.png INFRA-833: OpenTelemetry exporter for metrics 2023-07-26 05:22:17 +00:00
open-telemetry-headers_config-ui-attributes_2-18.png [Docs] Adding Opentelemetry documentation for EE 2023-01-31 09:37:12 +00:00
open-telemetry-headers_config-ui-headers_2-18.png [Docs] Adding Opentelemetry documentation for EE 2023-01-31 09:37:12 +00:00
Pro_Account-create-project.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Account-new-project.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Accounts-project-add-collab.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Accounts-project-collaborators.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Console-allow-hasura_v1-2-2.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Console-create-api-limits.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Console-graphiql_v1-2-2.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Console-list-api-limits.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Control_plane_architecture.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Hasura-login.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Metrics_v1-2-2.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_overview_v1-2-2.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_overview.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
Pro_Sign-up.png Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
settings_insecure-TLS-allow-list_2-17-0.png [Docs] Adding Opentelemetry documentation for EE 2023-01-31 09:37:12 +00:00
SSO_Login_demo.gif Docs: reorganize image folders after restructure 2022-08-03 16:26:40 +00:00
sso-adfs-add-claims.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-adfs-certificates.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-adfs-trust-party-url.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-adfs-view-rule.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-animated-demo.gif Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-auth0-action-claims.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-auth-flow-middleware.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-auth-flow-oauth.png docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
sso-azure-assign-role.jpg Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-azure-create-admin-role.jpg Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-azure-endpoints.jpg Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-azure-register-app.jpg Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-azure-saml-ca.jpg Docs: Hasura EE console SSO 2023-04-17 02:48:11 +00:00
sso-token-debug.jpg docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
Trials_Activated.png EE Trial Docs 2023-04-05 11:40:55 +00:00
Trials_EE_Benefits.png EE Trial Docs 2023-04-05 11:40:55 +00:00
Trials_Register_Button.png EE Trial Docs 2023-04-05 11:40:55 +00:00
Trials_Registration_form.png EE Trial Docs 2023-04-05 11:40:55 +00:00
Trials_Succeeded.png EE Trial Docs 2023-04-05 11:40:55 +00:00
Trials_View_State.png EE Trial Docs 2023-04-05 11:40:55 +00:00