Coder Social home page Coder Social logo

murznn / ddev-grafana Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 58 KB

Grafana Stack addon for DDEV: Grafana (GUI), Prometheus (metrics), Tempo (tracing, OpenTelemetry), Loki (logs, promtail)

License: Apache License 2.0

Shell 100.00%
ddev-get grafana grafana-loki grafana-tempo loki tempo

ddev-grafana's Issues

ddev get MurzNN/ddev-grafana : Unable to YamlToDict: YamlToDict: type string not handled (post-start)

Hello Murz,

I experience a problem when trying to install ddev-grafana

ddev get MurzNN/ddev-grafana
Downloading https://api.github.com/repos/MurzNN/ddev-grafana/tarball/v0.2.0
v0.2.0_961795265.tar.gz 12.83 KiB / ? [--------------------------=-------------------------------------------------------------------------------] 131.34% 0s
Unable to YamlToDict: YamlToDict: type string not handled (post-start)

ddev version
ITEM VALUE
DDEV version v1.21.6

Error after upgrading DDEV to 1.22.x

Hi,

After upgrading DDEV to 1.22.7 (latest version), i started facing below error.

Failed to restart drupal: docker-compose build failed: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-drupal docker-compose -f /Users/gaurav_manerkar/Desktop/project/.ddev/.ddev-docker-compose-full.yaml --progress=plain build', action='[]', err='exit status 15', stdout='', stderr='service tempo declares mutually exclusive `network_mode` and `networks`: invalid compose project', output='', stderr='service tempo declares mutually exclusive `network_mode` and `networks`: invalid compose project' 

Workaround:
Use below yml in docker-compose.grafana.traces.localhost.yaml

services:
#  web:
    # Comment this if you don't need to bind trace ports to localhost.
#    extra_hosts:
#      - "tempo:127.0.0.1"

  tempo:
    container_name: "ddev-${DDEV_SITENAME}-tempo"
    image: grafana/tempo:latest
    # Comment this if you don't need to bind trace ports to localhost.
#    network_mode: container:ddev-${DDEV_SITENAME}-web
    user: "${UID:-}:${GID:-}"
    volumes:
      - type: bind
        source: ./grafana/tempo/tempo.yaml
        target: /etc/tempo.yaml
      - tempo-data:/data
    command:
      - "-config.file=/etc/tempo.yaml"
#    depends_on:
#      - web
    # exposed ports is configured in a separate file:
    # config.grafana.tracing.yaml

    # # Another approach to expose HTTP tracing endpoints to the ddev host.
    # # Only HTTP endoinds supported via this approach.
    # labels:
    #   com.ddev.site-name: ${DDEV_SITENAME}
    #   com.ddev.approot: $DDEV_APPROOT
    # environment:
    #   - VIRTUAL_HOST=$DDEV_HOSTNAME
    #   # We need also to pass DDEV default ports here via adding the substring:
    #   # ${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}
    #   - HTTP_EXPOSE=${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}:8025,4318:4318,9411:9411,14268:14268

#  grafana:
#    # Required to connect from Grafana container via named hosts.
#    # Comment this if you don't need to bind trace ports to localhost.
#    links:
#      - "web:tempo"

volumes:
  tempo-data:
    name: "ddev-${DDEV_SITENAME}_tempo"

Tests have long been disabled... and probably don't work?

Due to Github's timeout with no commits, the tests here haven't run for 7 months and are likely incompatible with current DDEV.

Are you still interested in maintaining this?

If so, please consider

If not, please consider removing the ddev-get label and probably update the README to say that it's no longer maintained. Or find another maintainer?

Thanks!
-Randy

Unable to start @windows wsl

Failed to start otel: ddev-router failed to become ready; debug with 'docker logs ddev-router'; logOutput=, err=health check timed out after 1m0s: labels map[com.docker.compose.service:ddev-router] timed out without becoming healthy, status=

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.