Skip to content

dapperlabs-platform/terraform-nginx-ingress-loki-grafana-dashboards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-nginx-ingress-loki-grafana-dashboards

This Terraform module helps to expose nginx metrics gathered by Loki as a Grafana Dashboard.

This can help to show your teams what traffic is actually hitting your endpoints.

metrics

logs

NOTE: These dashboards were inspired by several other publically available dashboards and adjusted for this set.

Requirements

Name Version
grafana ~> 1.22

Providers

Name Version
grafana 1.43.0
random 3.5.1

Modules

No modules.

Resources

Name Type
grafana_dashboard.web_logs_dashboard resource
grafana_dashboard.web_stats_dashboard resource
random_string.random_logs resource
random_string.random_stats resource

Inputs

Name Description Type Default Required
app_name Application Name string "nginx-ingress-controller" no
backend_name Backend Name string "backend-consumer-graphql-api-web" no
environment Environment string n/a yes
folder_id Grafana Folder ID string n/a yes
frontend_name Frontend Name string n/a yes
loki_datasource Loki Datasource string n/a yes
notification_channel Notification Channel string n/a yes
product_name Product Name string n/a yes
service_name Service Name string n/a yes

Outputs

No outputs.

About

Nginx dashboards for Grafana generated from Loki logs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages