Comments (2)
- While supporting "external targets" is not the primary goal of the Prometheus operator some provision for external targets could certainly be made. What type of external scrape targets and configurations do you find to be common use cases ?
- It is not clear why you need support for an "external target" (meaning not part of a charm) when you are trying to develop a charm that has a Prometheus metrics endpoint. If you have developed or are developing a HTTP Prometheus metrics end point why can you not just use a command line HTTP client such as
wget
orcurl
to check the "data exporting functionality" ? It is not clear to me what you mean by "Otherwise I have to write all of the code before I ever know if the data exporting works in the first place" ? What is this "all the code" that you refer to ? Is it the code of a your (scrape target) charm's event handler that handles the relation with the prometheus charm ? This code is mostly one function calladd_endpoint()
. If on the other hand it is the code that implements the/metrics
endpoint, why can you not test this independently of your charm (such as usingcurl
as mentioned) or any other way that is standard practice among developers of Prometheus metric endpoints ?
from prometheus-k8s-operator.
I discussed with @jlounder and it looks like this is best done through integrator charms which I had not considered.
from prometheus-k8s-operator.
Related Issues (20)
- The charm size got 10x bigger due to cygrpc.cpython-38-x86_64-linux-gnu.so with debug symbols HOT 2
- Non-functional deployment with latest/edge - /cos-prometheus-0: 404 Not Found HOT 3
- After removing the relation with scrape-inteval-config old alert rules are still in Prometheus HOT 5
- Alert rules from different sources can overwrite each other HOT 13
- Broken scrape jobs can get past our checks HOT 1
- Stuck on BlockedStatus even after `maximum_retention_size` config option changed to valid
- Out of order sample from remote write HOT 3
- [MetricsEndpointAggregator] Group name should be rendered using unit name, not app name HOT 2
- Topology labels are overridden in MetricsEndpointProvider HOT 1
- "certificates-relation-changed" hook failed during deployment HOT 4
- Set external URL as a Grafana Data Source HOT 4
- cannot stop service: promtail service does not exist HOT 1
- Internal url is rendered as the "source" in alerts HOT 2
- Charm reports permission denied when setting relation data HOT 2
- Remove the check `if alert_rules_as_dict` in `MetricsEndpointProvider`
- chore: update libraries to new major versions
- `prometheus_scrape` relation should block charm for cross-model relations HOT 1
- charm tracing fails over tls
- Alerts gone after pod reschedule HOT 1
- Error in scrape job definition pass silently HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-k8s-operator.