Git Product home page Git Product logo

nri-flex-concept's Introduction

nri-flex-concept's People

Contributors

goldenplec avatar kav91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nri-flex-concept's Issues

Sources for nri-flex

Hi - this project looks super interesting, in particular for the Prometheus exporter integration.

In the project README, it says, "New Relic has open-sourced this integration to enable monitoring of various technologies.". However, I don't see the sources or the build toolchain for nri-flex. Are these available, or will they be made available?

Thanks!

Example dashboards and NRQL

Hi,

I've got flex set up scaping a bunch of Prometheus metrics endpoints.

I'm struggling to set up dashboards in Insights based on the data from flex.

I would be interested to see some example dashboards for common Prometheus metric types.

In particular, would like to see example NRQL for histograms and summaries as these are the ones I am struggling with the most.

Thanks

Container Discovery Parsing Issue

I'm attempting to use this integration with newrelic/infrastructure-k8s:1.9.0.

This is my container discovery config file:

---
name: clusterautoscalermetrics
apis:
  - name: clusterautoscalermetrics
    url: http://${auto:host}:${auto:port}/metrics
    prometheus:
      enable: true

According to the docs on Kubernetes I should add an environment variable to my deployment so that the integration can find the container. I've added the following

flexDiscovery: t=cluster-autoscaler,c=clusterautoscaler,tt=img,tm=contains

When I run from the container (on the same host as my cluster-autoscaler container) ./nri-flex -container_discovery -docker_api_version 1.38 -container_discovery_dir flexContainerDiscovery/ -verbose -config_file flexContainerDiscovery/clusterautoscaler.yml I get the following error:

/var/db/newrelic-infra/custom-integrations # ./nri-flex -container_discovery -docker_api_version 1.38 -container_discovery_dir flexContainerDiscovery/ -verbose -config_file flexContainerDiscovery/clusterautoscaler.yml
DEBU[0000] com.newrelic.nri-flex: v0.6.0-pre linux:amd64
DEBU[0000] starting to process 1 configs
DEBU[0000] running config: clusterautoscalermetrics
DEBU[0000] processing 1 apis in clusterautoscalermetrics
DEBU[0000] fetching data for clusterautoscalermetrics
DEBU[0000] clusterautoscalermetrics - running http requests
DEBU[0000] sending GET request to http://${auto:host}:${auto:port}/metrics
DEBU[0000] parse http://${auto:host}:${auto:port}/metrics: invalid character "{" in host name
DEBU[0000] running data handler for clusterautoscalermetrics
DEBU[0000] finished processing 1 apis in clusterautoscalermetrics
DEBU[0000] completed processing 1 configs
{"name":"com.newrelic.nri-flex","protocol_version":"2","integration_version":"0.6.0-pre","data":[{"metrics":[{"event_type":"flexStatusSample","flex.ConfigsProcessed":1,"flex.EventCount":0,"flex.EventDropCount":0}],"inventory":{},"events":[]}]}

DEBU[0000] sending GET request to http://${auto:host}:${auto:port}/metrics is what stands out to me as the issue.

Secrets Management for Config Files

This is awesome. I just got it working to ship CircleCI events and it took about 15 minutes to implement.

I was wondering what your thoughts on key management were. i.e. the containerized version of this is great but, right now you have to bake in any keys in the config files.

You could write an entrypoint script that uses sed to replace these from environment variables but, I was wondering if you had any ideas or if anyone else has asked for this. I am happy to contribute if you post the source.

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.