Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Unable to use Python example #9

@MatinF

Description

@MatinF

Hi there,

I'm trying to use the Python example to get started with Grafana and Graphtie, but I struggle with some of the basics.

What I've done (Python)

  1. I've registered a new Grafana 30 day trial account
  2. I've logged in and set Graphite as my default data source with the default settings
  3. I generated an Editor API key
  4. I downloaded the Python example to my PC and added my API key
  5. I then tested the script by adding the following endpoints:

https://mfcsstest.hosted-metrics.grafana.net
--> This results in Exception: {"code": "MethodNotAllowed", "message": "POST is not allowed"}

https://graphite-us-central1.grafana.net/metrics
--> This results in Exception: "invalid authentication credentials"

https://mfcsstest.grafana.net/api/dashboards/home
--> This results in Exception: {"message":"Not found"}

I'm unsure how to proceed from here - am I using an incorrect URL, or am I missing something else?

UPDATE:
I seem to face similar struggles running the main.sh script as well. Could it be that the scripts are outdated vs. the latest syntax of the Grafana hosted cloud solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions