This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/datasource.ts b/src/datasource.ts | |
| index 25e4427..e5aa5df 100644 | |
| --- a/src/datasource.ts | |
| +++ b/src/datasource.ts | |
| @@ -126,12 +126,14 @@ export default class IrondbDatasource { | |
| headers['X-Circonus-App-Name'] = this.appName; | |
| } | |
| if ('standalone' == this.irondbType && !isCaql) { | |
| + headers['X-Circonus-Account'] = this.accountId; | |
| baseUrl = baseUrl + '/graphite/' + this.accountId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .SUFFIXES: .c .cpp .lo .mo .xml .xmlh | |
| Q= | |
| ifeq ($(V),) | |
| Q=@ | |
| endif | |
| MAKE?=gmake | |
| DISPLACE?=../ | |
| CC=@CC@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DISPLACE=../ | |
| MODULES=prometheus.$(MODULEEXT) | |
| include ../Makefile | |
| LIBS=-lsnappyc -lnoit | |
| OBJS=prometheus.mo prometheus.pb-c.mo types.pb-c.mo | |
| ### Prometheus Ingress Module | |
| prometheus.mo: prometheus.c prometheus.xmlh | |
| prometheus.pb-c.mo: prometheus.pb-c.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c) 2020, Circonus, Inc. | |
| * All rights reserved. | |
| */ | |
| #ifndef SNOWTH_UTIL_MTEV_MEMORY_SAFE_OBJECT_HPP | |
| #define SNOWTH_UTIL_MTEV_MEMORY_SAFE_OBJECT_HPP | |
| #include <mtev_memory.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/opt/circonus/bin/luamtev -L+/opt/circonus/share/lua/5.1/?.lua;/opt/circonus/share/lua/5.1/?/init.lua | |
| module(..., package.seeall) | |
| function calc_next(last, period) | |
| if not last then last = mtev.timeval.now() end | |
| local ne = last:seconds() + period | |
| return mtev.timeval.new(math.floor(ne), math.floor((ne - math.floor(ne)) * 1000000)) | |
| end |
OlderNewer