The Relicans

Captain Ellie for The Relicans Prime

Posted on

Help Thread — New Relic Hack the Planet Contest

Members of the New Relic team will be making themselves available here to help contestants who run into issues or have questions related to New Relic as part of Hack the Planet.

If you get stuck or run into a question about New Relic, describe it in this thread for asynchronous assistance from members of our team — we'll be monitoring this post regularly!

Happy coding ❤️

Discussion (11)

Collapse
chilupa profile image
Pavan Chilukuri • Edited

I'm working on hello-world application from New Relic Docs. I ran into this issue where when I'm making a change to nr1.json file to change the app display name, below error appears. I have to stop the server and re run it to make it work.
Could anyone please help?

✖  Error: Something went wrong while parsing /apps/nr-app/nerdlets/nr-app-nerdlet/nr1.json

TypeError: Cannot read property 'id' of undefined
at Artifact.get id [as id] (/usr/local/lib/newrelic-cli/node_modules/@datanerd/3pp-cli-nerdpack-common/models/Artifact.js:75:33)
at artifacts.find (/usr/local/lib/newrelic-cli/node_modules/@datanerd/3pp-cli-nerdpack/src/build/BuildManager.js:216:67)
at Array.find (<anonymous>)
at FSWatcher.watcher.on (/usr/local/lib/newrelic-cli/node_modules/@datanerd/3pp-cli-nerdpack/src/build/BuildManager.js:215:51)
Enter fullscreen mode Exit fullscreen mode
Collapse
captainellie profile image
Captain Ellie Author

Can you share your nr1.json as a snippet or link to it in git?

Collapse
katafrakt profile image
Paweł Świątkowski • Edited

Is it possible to use it with historical data? I tried to backfill data from like last 30 year via Metric API, the API returned 202, but I seem to be unable to query the data in any way. Looks like it's been discarded somehow.

EDIT: Ah, I see it was rejected because timestamp was older than 48 hours ago. So I guess it's impossible to use historical data here (unless it is somehow re-scaled). Leaving the comment in case someone else has similar problem.

Collapse
pmbanugo profile image
Peter Mbanugo

I can't get NEw Relic Fluentbit integration working. I followed this and I get a make error and after a few tries of running make all, I decided to use make linux-amd64 after checking the Makefile.

This is the error I get afterwards after running make linux-amd64.

CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -buildmode=c-shared -o out_newrelic-linux-amd64-dev.so .
go: downloading github.com/fluent/fluent-bit-go v0.0.0-20200420155746-e125cab17963
go: downloading github.com/ugorji/go v1.1.4
# github.com/newrelic/newrelic-fluent-bit-output
/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: unknown option: -Bsymbolic
clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [linux-amd64] Error 2
Enter fullscreen mode Exit fullscreen mode

I give up for today :D at least I have my nodejs instrumentation metrics working inside a node (Knative) container :D

Collapse
tomreifenberg profile image
Tom Reifenberg

I'm excited to give this hackathon a whirl! Just curious, can the application relate more to actions users can take to stave off climate change instead of simply observing its impacts, while showcasing New Relic's observability platform? I'm guessing there will be plenty of submissions showing ice cap reduction, deforestation, pollution, etc. without presenting us with ways to undo the damage.

Collapse
pachicodes profile image
Pachi 🪐 (she/her/ela)

Yes Tom, as long as you use New Relic on your application and tell us how you did it, the focus can be on whatever you think is more important.

Collapse
anabella profile image
Anabella

Hello! I'm thinking about building a project for the "out of this world!" category. The thing is... my idea is not very much related to "Climate Change" theme.

I was wondering if this category will prioritize submissions with a subject that's climate-adjacent (although not enough to fit in the other categories) or if it's really about building anything that's really awesome :D

Thank you!

Collapse
spiritbro1 profile image
rino

hello may i ask do we need to add data first to new relic in order to visualize data? my use case is i want to visualize data from covid into table data but in example there is only one way to do it which is adding data to metrics through telemetry api, is there any way to use TableChart component using already made data like json data, whatsoever, or maybe a way to import data easily to telemetry?

Collapse
biglovisa profile image
Lovisa Svallingson

Hey! I have a project in mind and I would like to consume the New Relic API and do some cool and fun things with the data. I don't have a big app using New Relic so I think the data I would get back using my own account would be kind of sparse. Do you have some kind of test mode or test data that the NR API can return for development/test purposes?

Collapse
geobrodas profile image
Georgey • Edited

I'm totally new to new relicans firstly is it a web hosting platform in turn in which we can monitor our software health?

Collapse
pmbanugo profile image
Peter Mbanugo

I think it's a platform where you can push your logs and metrics to view them all in a single place. I've not used it but from the video I see on their website, that's how I understand it. In summary, it should give you an eagles view of your application performance and health, and easily find bottlenecks in your solution.