Giter Site home page Giter Site logo

scalingo / grafana-scalingo Goto Github PK

View Code? Open in Web Editor NEW
2.0 10.0 8.0 455.28 MB

One click deploy for Grafana on Scalingo

License: GNU Affero General Public License v3.0

Shell 0.31% JavaScript 0.33% Makefile 0.04% Go 38.41% Smarty 0.01% Python 0.05% CSS 0.01% HTML 0.70% TypeScript 58.02% Dockerfile 0.04% Jsonnet 0.11% Rich Text Format 0.78% SCSS 0.50% Jinja 0.01% CUE 0.39% Mustache 0.01% Procfile 0.01% Starlark 0.28% Assembly 0.01% HCL 0.01%
grafana monitoring one-click-deploy scalingo

grafana-scalingo's Introduction

Grafana Logo (Light) Grafana Logo (Dark)

The open-source platform for monitoring and observability

Run your own Grafana instance with one click.

To login, use the environment variables value defined in:

  • GF_SECURITY_ADMIN_USER
  • GF_SECURITY_ADMIN_PASSWORD

Default Version: v10.4.3

Deploy

How to update when new version is released:

git clone [email protected]:Scalingo/grafana-scalingo
cd grafana-scalingo
git remote add scalingo [email protected]:<app name>.git
git push scalingo master

How to update to the latest Grafana version

Get the latest version from upstream:

git remote add upstream https://github.com/grafana/grafana.git
git fetch upstream --tags
git checkout -b deps/grafana_vX.Y.Z
git merge vX.Y.Z
git commit --message "Get vX.Y.Z from upstream"

Open a pull request and get it merged. Then tag a new version:

git tag vX.Y.Z-scalingo1
git push origin --tags

License Drone Go Report Card

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data-driven culture:

  • Visualizations: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs.
  • Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.
  • Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.
  • Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.
  • Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.
  • Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.

Get started

Unsure if Grafana is for you? Watch Grafana in action on play.grafana.org!

Documentation

The Grafana documentation is available at grafana.com/docs.

Contributing

If you're interested in contributing to the Grafana project:

Get involved

This project is tested with BrowserStack

License

Grafana is distributed under AGPL-3.0-only. For Apache-2.0 exceptions, see LICENSING.md.

grafana-scalingo's People

Contributors

aknuds1 avatar alexanderzobnin avatar aocenas avatar ashharrison90 avatar bergquist avatar daniellee avatar davkal avatar dprokop avatar dsotirakis avatar gabor avatar grafanabot avatar hugohaggmark avatar ijin08 avatar ivanahuckova avatar joshhunt avatar jschill avatar kaydelaney avatar leeoniya avatar marefr avatar mtanda avatar oddlittlebird avatar papagian avatar peterholmberg avatar renovate[bot] avatar ryantxu avatar sunker avatar svenklemm avatar torkelo avatar utkarshcmu avatar xlson avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grafana-scalingo's Issues

One click deploy is broken

Command grunt is not found.

Deployment log :

Deployment is starting...

 <-- Start deployment of grafana-test -->
       Fetching source code
-----> Cloning custom buildpack: https://github.com/Scalingo/multi-buildpack.git#master
=====> Downloading Buildpack: https://github.com/Scalingo/go-buildpack
=====> Detected Framework: Go
-----> Fetching jq... done
-----> Fetching stdlib.sh.v8... done
-----> 
       Detected go modules via go.mod
-----> 
       Detected Module Name: github.com/grafana/grafana
-----> 
-----> New Go Version, clearing old cache
-----> Installing go1.12.9
-----> Fetching go1.12.9.linux-amd64.tar.gz... done
-----> Installing bzr 2.7.0
-----> Fetching bzr-2.7.0.tar.gz... done
-----> Installing hg 3.9
-----> Fetching mercurial-3.9.tar.gz... done
-----> Determining packages to install
-----> Running: go install -v -tags paas -mod=vendor github.com/grafana/grafana/pkg/cmd/... 
github.com/lib/pq/oid
github.com/VividCortex/mysqlerr
github.com/grafana/grafana/pkg/services/sqlstore/sqlutil
github.com/codegangsta/cli
github.com/grafana/grafana/pkg/bus
golang.org/x/sys/unix
github.com/denisenkom/go-mssqldb/internal/cp
github.com/grafana/grafana/pkg/cmd/grafana-cli/logger
github.com/go-sql-driver/mysql
github.com/grafana/grafana/pkg/cmd/grafana-cli/utils
github.com/go-xorm/core
github.com/mattn/go-isatty
github.com/go-xorm/builder
github.com/mattn/go-colorable
github.com/fatih/color
github.com/go-stack/stack
github.com/teris-io/shortid
github.com/inconshreveable/log15
github.com/grafana/grafana/pkg/util
gopkg.in/ini.v1
github.com/go-xorm/xorm
github.com/go-macaron/inject
github.com/Unknwon/com
golang.org/x/crypto/pbkdf2
github.com/grafana/grafana/pkg/components/simplejson
github.com/grafana/grafana/pkg/events
github.com/beorn7/perks/quantile
github.com/golang/protobuf/proto
github.com/grafana/grafana/pkg/log
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
gopkg.in/macaron.v1
github.com/prometheus/common/model
github.com/prometheus/procfs/internal/util
github.com/go-macaron/session
github.com/prometheus/procfs/nfs
github.com/prometheus/procfs/xfs
github.com/prometheus/procfs
github.com/grafana/grafana/pkg/setting
github.com/grafana/grafana/pkg/components/securejsondata
github.com/lib/pq
github.com/prometheus/client_model/go
github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/prometheus/client_golang/prometheus/internal
github.com/prometheus/common/expfmt
github.com/mattn/go-sqlite3
github.com/rainycape/unidecode
github.com/gosimple/slug
github.com/prometheus/client_golang/prometheus
github.com/grafana/grafana/pkg/components/null
golang.org/x/net/context/ctxhttp
github.com/grafana/grafana/pkg/services/annotations
golang.org/x/oauth2/internal
github.com/patrickmn/go-cache
golang.org/x/oauth2
cloud.google.com/go/civil
github.com/grafana/grafana/pkg/services/cache
golang.org/x/crypto/md4
github.com/denisenkom/go-mssqldb
golang.org/x/xerrors/internal
golang.org/x/xerrors
github.com/grafana/grafana/pkg/infra/metrics/graphitebridge
github.com/grafana/grafana/pkg/models
github.com/grafana/grafana/pkg/util/errutil
github.com/grafana/grafana/pkg/cmd/grafana-cli/models
github.com/grafana/grafana/pkg/cmd/grafana-cli/services
github.com/hashicorp/go-version
github.com/grafana/grafana/pkg/tsdb
github.com/grafana/grafana/pkg/cmd/grafana-cli/commands/commandstest
github.com/facebookgo/structtag
github.com/facebookgo/inject
github.com/grafana/grafana/pkg/api/avatar
github.com/grafana/grafana/pkg/tsdb/mssql
github.com/go-macaron/binding
github.com/hashicorp/go-hclog
golang.org/x/net/context
golang.org/x/text/transform
golang.org/x/net/http2/hpack
golang.org/x/net/internal/timeseries
golang.org/x/net/trace
google.golang.org/grpc/grpclog
google.golang.org/grpc/connectivity
google.golang.org/grpc/credentials
golang.org/x/text/unicode/bidi
golang.org/x/text/unicode/norm
google.golang.org/grpc/resolver
golang.org/x/text/secure/bidirule
google.golang.org/grpc/balancer
google.golang.org/grpc/codes
google.golang.org/grpc/balancer/base
google.golang.org/grpc/balancer/roundrobin
google.golang.org/grpc/internal
google.golang.org/grpc/internal/grpcrand
google.golang.org/grpc/encoding
google.golang.org/grpc/encoding/proto
google.golang.org/grpc/internal/backoff
google.golang.org/grpc/internal/envconfig
github.com/golang/protobuf/ptypes/any
google.golang.org/genproto/googleapis/rpc/status
google.golang.org/grpc/keepalive
google.golang.org/grpc/internal/channelz
google.golang.org/grpc/metadata
google.golang.org/grpc/peer
golang.org/x/net/idna
github.com/golang/protobuf/ptypes/duration
google.golang.org/grpc/stats
github.com/golang/protobuf/ptypes/timestamp
google.golang.org/grpc/tap
github.com/golang/protobuf/ptypes
google.golang.org/grpc/naming
google.golang.org/grpc/resolver/dns
google.golang.org/grpc/status
golang.org/x/net/http/httpguts
google.golang.org/grpc/resolver/passthrough
github.com/hashicorp/yamux
github.com/mitchellh/go-testing-interface
github.com/oklog/run
github.com/grafana/grafana/pkg/services/guardian
golang.org/x/net/http2
github.com/grafana/grafana/pkg/login/social
github.com/gorilla/websocket
github.com/opentracing/opentracing-go/log
cloud.google.com/go/compute/metadata
github.com/opentracing/opentracing-go
golang.org/x/oauth2/jws
github.com/grafana/grafana/pkg/api/routing
golang.org/x/oauth2/jwt
github.com/grafana/grafana/pkg/api/static
github.com/grafana/grafana/pkg/components/apikeygen
golang.org/x/oauth2/google
github.com/sergi/go-diff/diffmatchpatch
github.com/yudai/golcs
github.com/bradfitz/gomemcache/memcache
google.golang.org/grpc/internal/transport
gopkg.in/bufio.v1
github.com/yudai/gojsondiff
gopkg.in/redis.v2
github.com/yudai/gojsondiff/formatter
github.com/grafana/grafana/pkg/components/dashdiffs
google.golang.org/grpc
github.com/BurntSushi/toml
github.com/hashicorp/go-plugin/internal/plugin
google.golang.org/grpc/health/grpc_health_v1
google.golang.org/grpc/health
github.com/davecgh/go-spew/spew
github.com/jtolds/gls
github.com/hashicorp/go-plugin
github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch
github.com/smartystreets/assertions/internal/go-render/render
github.com/smartystreets/assertions/internal/oglematchers
github.com/smartystreets/goconvey/convey/gotest
github.com/smartystreets/goconvey/convey/reporting
github.com/grafana/grafana-plugin-model/go/datasource
github.com/smartystreets/assertions
gopkg.in/asn1-ber.v1
github.com/grafana/grafana/pkg/plugins/datasource/wrapper
github.com/klauspost/cpuid
github.com/smartystreets/goconvey/convey
gopkg.in/ldap.v3
github.com/opentracing/opentracing-go/ext
github.com/klauspost/compress/flate
github.com/benbjohnson/clock
github.com/aws/aws-sdk-go/aws/awserr
github.com/aws/aws-sdk-go/internal/ini
github.com/klauspost/compress/gzip
github.com/aws/aws-sdk-go/internal/shareddefaults
github.com/aws/aws-sdk-go/aws/endpoints
github.com/go-macaron/gzip
github.com/aws/aws-sdk-go/internal/sdkio
github.com/aws/aws-sdk-go/aws/credentials
github.com/aws/aws-sdk-go/aws/client/metadata
github.com/jmespath/go-jmespath
github.com/aws/aws-sdk-go/internal/sdkrand
github.com/aws/aws-sdk-go/internal/sdkuri
github.com/aws/aws-sdk-go/aws/credentials/processcreds
github.com/grafana/grafana-plugin-model/go/renderer
golang.org/x/sync/errgroup
github.com/aws/aws-sdk-go/aws/awsutil
github.com/grafana/grafana/pkg/services/teamguardian
github.com/grafana/grafana/pkg/tsdb/testdata
github.com/prometheus/client_golang/prometheus/promhttp
github.com/gobwas/glob/util/runes
github.com/gobwas/glob/util/strings
github.com/gobwas/glob/match
github.com/aws/aws-sdk-go/aws
github.com/gobwas/glob/syntax/lexer
github.com/aws/aws-sdk-go/aws/request
github.com/aws/aws-sdk-go/private/protocol/eventstream
github.com/gobwas/glob/syntax/ast
github.com/gobwas/glob/compiler
github.com/gobwas/glob/syntax
github.com/robfig/cron
github.com/gobwas/glob
golang.org/x/crypto/ed25519/internal/edwards25519
gopkg.in/square/go-jose.v2/cipher
github.com/aws/aws-sdk-go/aws/client
github.com/aws/aws-sdk-go/aws/corehandlers
github.com/aws/aws-sdk-go/aws/credentials/endpointcreds
github.com/aws/aws-sdk-go/private/protocol
github.com/aws/aws-sdk-go/aws/ec2metadata
github.com/aws/aws-sdk-go/aws/csm
github.com/aws/aws-sdk-go/private/protocol/rest
github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
github.com/aws/aws-sdk-go/private/protocol/query/queryutil
github.com/aws/aws-sdk-go/aws/defaults
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
github.com/aws/aws-sdk-go/aws/signer/v4
github.com/aws/aws-sdk-go/internal/s3err
github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi
github.com/aws/aws-sdk-go/private/protocol/query
golang.org/x/crypto/ed25519
gopkg.in/square/go-jose.v2/json
github.com/aws/aws-sdk-go/service/sts
github.com/pkg/errors
github.com/aws/aws-sdk-go/private/protocol/restxml
github.com/aws/aws-sdk-go/service/s3
gopkg.in/square/go-jose.v2
github.com/aws/aws-sdk-go/aws/credentials/stscreds
github.com/aws/aws-sdk-go/aws/session
github.com/uber/jaeger-client-go/internal/baggage
github.com/uber/jaeger-client-go/internal/spanlog
github.com/uber/jaeger-client-go/internal/throttler
github.com/uber/jaeger-client-go/log
github.com/uber/jaeger-client-go/thrift
github.com/grafana/grafana/pkg/extensions
github.com/uber/jaeger-lib/metrics
gopkg.in/mail.v2
github.com/uber/jaeger-client-go/thrift-gen/jaeger
github.com/uber/jaeger-client-go/thrift-gen/sampling
github.com/uber/jaeger-client-go/thrift-gen/zipkincore
github.com/uber/jaeger-client-go/thrift-gen/baggage
github.com/grafana/grafana/pkg/services/provisioning/values
github.com/uber/jaeger-client-go/thrift-gen/agent
gopkg.in/yaml.v2
github.com/uber/jaeger-client-go/utils
github.com/uber/jaeger-client-go
github.com/uber/jaeger-client-go/internal/baggage/remote
github.com/grafana/grafana/pkg/components/imguploader
github.com/uber/jaeger-client-go/internal/throttler/remote
github.com/uber/jaeger-client-go/rpcmetrics
github.com/uber/jaeger-client-go/transport
github.com/aws/aws-sdk-go/service/cloudwatch
github.com/grafana/grafana/pkg/services/provisioning/datasources
github.com/uber/jaeger-client-go/config
github.com/aws/aws-sdk-go/private/protocol/ec2query
github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
github.com/aws/aws-sdk-go/service/ec2
github.com/aws/aws-sdk-go/private/protocol/jsonrpc
github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi
github.com/grafana/grafana/pkg/tsdb/elasticsearch/client
github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface
github.com/grafana/grafana/pkg/tsdb/graphite
github.com/grafana/grafana/pkg/tsdb/elasticsearch
github.com/grafana/grafana/pkg/tsdb/influxdb
github.com/grafana/grafana/pkg/tsdb/mysql
github.com/grafana/grafana/pkg/tsdb/opentsdb
github.com/grafana/grafana/pkg/tsdb/postgres
github.com/prometheus/client_golang/api
github.com/prometheus/client_golang/api/prometheus/v1
github.com/grafana/grafana/pkg/tsdb/prometheus
github.com/aws/aws-sdk-go/service/ec2/ec2iface
github.com/grafana/grafana/pkg/services/sqlstore/migrator
github.com/grafana/grafana/pkg/registry
github.com/grafana/grafana/pkg/services/sqlstore/migrations
github.com/grafana/grafana/pkg/services/search
github.com/grafana/grafana/pkg/services/quota
github.com/grafana/grafana/pkg/infra/metrics
github.com/grafana/grafana/pkg/services/dashboards
github.com/grafana/grafana/pkg/services/login
github.com/grafana/grafana/pkg/services/datasources
github.com/grafana/grafana/pkg/services/ldap
github.com/grafana/grafana/pkg/infra/tracing
github.com/grafana/grafana/pkg/plugins
github.com/grafana/grafana/pkg/services/notifications
github.com/grafana/grafana/pkg/login
github.com/grafana/grafana/pkg/services/provisioning/dashboards
github.com/grafana/grafana/pkg/services/sqlstore
github.com/grafana/grafana/pkg/tsdb/cloudwatch
github.com/grafana/grafana/pkg/api/pluginproxy
github.com/grafana/grafana/pkg/api/dtos
github.com/grafana/grafana/pkg/api/live
github.com/grafana/grafana/pkg/services/hooks
github.com/grafana/grafana/pkg/tsdb/azuremonitor
github.com/grafana/grafana/pkg/tsdb/stackdriver
github.com/grafana/grafana/pkg/cmd/grafana-cli/commands/datamigrations
github.com/grafana/grafana/pkg/infra/remotecache
github.com/grafana/grafana/pkg/infra/serverlock
github.com/grafana/grafana/pkg/infra/usagestats
github.com/grafana/grafana/pkg/cmd/grafana-cli/commands
github.com/grafana/grafana/pkg/services/auth
github.com/grafana/grafana/pkg/services/cleanup
github.com/grafana/grafana/pkg/middleware/auth_proxy
github.com/grafana/grafana/pkg/middleware
github.com/grafana/grafana/pkg/cmd/grafana-cli
github.com/grafana/grafana/pkg/services/rendering
github.com/grafana/grafana/pkg/services/alerting
github.com/grafana/grafana/pkg/services/alerting/notifiers
github.com/grafana/grafana/pkg/api
github.com/grafana/grafana/pkg/services/alerting/conditions
github.com/grafana/grafana/pkg/services/provisioning/notifiers
github.com/grafana/grafana/pkg/services/provisioning
github.com/grafana/grafana/pkg/cmd/grafana-server
       
       Installed the following binaries:
       		./bin/grafana-cli
       		./bin/grafana-server
=====> Downloading Buildpack: https://github.com/Scalingo/nodejs-buildpack
=====> Detected Framework: Node.js
-----> Creating runtime environment
       
       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=true
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       NODE_VERBOSE=false
-----> Installing binaries
       engines.node (package.json):  6.11.4
       engines.npm (package.json):   unspecified (use default)
       engines.yarn (package.json):  unspecified (use default)
       
       Resolving node version 6.11.4...
       Downloading and installing node 6.11.4...
       Using default npm version: 3.10.10
       Resolving yarn version 1.x...
       Downloading and installing yarn (1.19.1)...
       Installed yarn 1.19.1
-----> Restoring cache
       Skipping cache restore (not-found)
-----> Building dependencies
       Installing node modules (yarn.lock)
       yarn install v1.19.1
       [1/4] Resolving packages...
       [2/4] Fetching packages...
       info [email protected]: The platform "linux" is incompatible with this module.
       info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
       [3/4] Linking dependencies...
       warning " > [email protected]" has incorrect peer dependency "slate@^0.32.0".
       [4/4] Building fresh packages...
       Done in 44.29s.
       Running build (yarn)
       yarn run v1.19.1
       $ grunt build
/bin/sh: 1: grunt: not found
error Command failed with exit code 127.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed
       
       We're sorry this build is failing!
       
       If you're stuck, please send us an email so we can help:
       [email protected]
       
       Keep coding,
       Scalingo
       
 !     An error occured during buildpack compilation
 !   Error deploying the application
 !   → Invalid return code from buildpack 

v9.3.2 is not deployable

It seems that v9.3.2 does not work (anymore?).

After investigating, I see 2 reasons:

  1. It seems that 9.3.2 is not compatible with node > 16:
    It fails with this error:

    @cypress/webpack-preprocessor@npm:5.15.2 [2eb60] couldn't be built successfully

    Which is caused by:

    TypeError [Error]: [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///build/.yarn/unplugged/cypress-npm-9.5.1-e025299506/node_modules/cypress/package.json" needs an import assertion of type "json"

    Which seems to be caused by the introduction of import assertion in node 17.1.0.

  2. The husky postinstall script doesn't work (but we don't need it).

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.