Posting results from another results to grafana dashbaords

Hello community ,

Is it possible to post results results to grafana dashboard from another external system ie text-it via an api endpoint and be able to visualize them ?

Welcome @gitcliff

Yes it is possible. If you post sample json from the resp api, your grafana version and the visualization you want to see based on which data elements we can try to help you

hello @yosiasz thanks for the feedack and my apologies for the delayed response…

was looking at posting to grafana a notification message with

POST /api/dashboards/db HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk

{
  "dashboard": {
    "id": 1,
    "title": "Production Overview Updated",
    "tags": [ "templated" ],
    "timezone": "browser",
    "schemaVersion": 16,
    "version": 1,
    "refresh": "25s"
  },
  "folderUid": "l3KqBxCMz",
  "message": "Message has been successfully sent",
  "overwrite": false
}

According to this

I am trying something similar,

  1. API : /api/dashboards/db
  2. API : /api/datasources

I am using 1st API , how to add Infinity datasource while create a new dashboard ?

{
“dashboard”: {
“id”: null,
“uid”: null,
“title”: “Production Overview1”,
“tags”: [ “templated” ],
“timezone”: “browser”,
“schemaVersion”: 16,
“refresh”: “25s”,

“panels”: [
{
“datasource”: “test_datasource”,
“type”: “yesoreyeram-infinity-datasource”,
“uid”: “dc160fa4-0075-4856-b9af-8b0e5cc8ca28”,
“id”: 13,
“orgId”: 1,
“access”: “proxy”,
“url”: “grafana-infinity-datasource/testdata/users.json at main · grafana/grafana-infinity-datasource · GitHub”,

  }

],
“message”: “Made changes to xyz”,
“overwrite”: true
}
}

When i login into Grafa dashbaord , Dashbaord created but its showing error

Status: 500. Message: error getting data frame. error getting response from url