victoria-metrics | Docker compose for VictoriaMetrics | Continuous Deployment library
kandi X-RAY | victoria-metrics Summary
kandi X-RAY | victoria-metrics Summary
Docker compose file for VictoriaMetrics: fast, cost-effective and scalable time series database, long-term remote storage for Prometheus.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of victoria-metrics
victoria-metrics Key Features
victoria-metrics Examples and Code Snippets
remote_write:
- url: http://victoria-metrics:8428/api/v1/write
Community Discussions
Trending Discussions on victoria-metrics
QUESTION
I am trying to set up a bitbucket pipeline that uses a database service provided by a docker container. However, in order to get the database service started correctly, I need to pass an argument to be received by the database container's ENTRYPOINT. I see from the pipeline service doc that it's possible to send variables
to the service's docker container, but the option I need to set isn't settable by an environment variable, only by a command line argument.
When I run the database's docker image locally using docker run
, I am able to set the option just by adding it to the end of the docker run
command, and it gets correctly applied to the container's ENTRYPOINT, so it seems like this should be straightforward, I just can't figure out where to put the argument in bitbucket-pipelines.yml.
Below is my bitbucket-pipelines.yml. Everything about it works great except that I need a way to pass a command line argument to the victoria-metrics container at the end of the file.
...ANSWER
Answered 2022-Apr-04 at 19:08According to Mark C from Atlassian, there is presently no way to pass command line arguments to service containers. However, he has created a feature request for this capability, which you are welcome to vote for if interested.
In the meantime, the suggested workarounds are:
- You can start the service container by running a Docker command within Pipelines as long as the command is not restricted. You can check this link for more information about Docker restricted commands on Pipelines.
- You can create your own Docker image (using Dockerfile) and upload it to Docker Hub then use that image as a service container on Pipelines
QUESTION
I'm using basic victoria metrics via docker image https://hub.docker.com/r/victoriametrics/victoria-metrics/ and import the float value via prometheus:
...ANSWER
Answered 2021-Mar-15 at 22:22but maybe we have some way to store the errors that occurred for example?
Unfortunately, no. You can put string values into labels, but metric value will be only float64.
which prometheus type is stored in victoriaMetrics when we're using /api/v1/import/prometheus? Untyped?
While the exposition format for metric type exists, neither Prometheus nor VictoriaMetrics do make use of it yet. You can skip all the comments when importing in VM for now. But this may change in future.
QUESTION
I'm in the process of building a docker-compose.yml
and want to use VictoriaMetrics own scraper (vmagent) to scrape metrics which SonarQube exposes via a Plugin at /api/prometheus/metrics
.
If docker is running, I can access localhost:9000/api/prometheus/metrics
and see all my metrics.
However, vmagent is throwing the following error every 60 seconds (which means at least my prometheus.yml
config is being used correctly):
ANSWER
Answered 2021-Feb-03 at 14:20Within vmagent
container localhost
will mean vmagent
itself. Try to refer with service name sonarqube:9000
instead of localhost:9000
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install victoria-metrics
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page