Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logfire terraform provider #880

Open
ddluke opened this issue Feb 21, 2025 · 0 comments
Open

Add logfire terraform provider #880

ddluke opened this issue Feb 21, 2025 · 0 comments

Comments

@ddluke
Copy link

ddluke commented Feb 21, 2025

Description

Are there any plans on publishing API endpoints that help to enable CRUD operations on Dashboards, Charts, Alerts and
SQL Queries?

I couldn't find anything like this in the logfire docs. If such API endpoints were in place, one could write a
terraform provider which would enable things like this:

resource "logfire_dashboard" {
  dashboard_name = "foo"
  dashboard_json = file("./dashboard.json")
}

resource "logfire_alert" {
  alert_name = "foo"
  query = file("./alert.sql")
}

# 'named' queries or something like this probably don't exist yet?
resource "logfire_query" {
  query_name = "foo"
  query = file("./alert.sql")
}

In its current state, pydantic logfire is easy to use for adhoc analysis, but for a productive monitoring system, it's
essential to automate CRUD operations using IAC tools like terraform and I couldn't find any docs on that topic yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant